Skip to content

aot compiler: propagate const-ness by ourselves #3567

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
Jun 25, 2024

Conversation

yamt
Copy link
Collaborator

@yamt yamt commented Jun 24, 2024

aot_load_const_from_table() hides the const-ness of the value and prevents optimizations like
#3552.

this commit makes the aot compiler tracks the const-ness of the value directly in the AOTValue and enables the above mentioned optimization for XIP.

aot_load_const_from_table() hides the const-ness of the
value and prevents optimizations like
bytecodealliance#3552.

this commit makes the aot compiler tracks the const-ness
of the value directly in the AOTValue and enables the above
mentioned optimization for XIP.
@yamt
Copy link
Collaborator Author

yamt commented Jun 24, 2024

i have no idea about the CI failure.

@wenyongh
Copy link
Contributor

i have no idea about the CI failure.

Seems like Github issue, I re-ran it.

Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TianlongLiang
Copy link
Collaborator

LGTM

@wenyongh wenyongh merged commit 867dbd8 into bytecodealliance:main Jun 25, 2024
381 checks passed
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.

3 participants