Skip to content

extract_metadata: Improve detection of mainReadsParams #17702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2022
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Aug 22, 2022

In non-optimizing modes llvm can generate extra local.set/local.get
instructions which was throwing off this function.

@sbc100 sbc100 requested a review from kripken August 22, 2022 20:12
@sbc100
Copy link
Collaborator Author

sbc100 commented Aug 22, 2022

Although its not really important that we detect this case in unoptmized builds it was leading to some strange differences between optimized and unoptimized builds.

@sbc100 sbc100 enabled auto-merge (squash) August 22, 2022 20:55
In non-optimizing modes llvm can generate extra local.set/local.get
instructions which was throwing off this function.
@sbc100 sbc100 merged commit c3b37c6 into main Aug 23, 2022
@sbc100 sbc100 deleted the main_read_params branch August 23, 2022 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants