-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[compiler-v2] Enable recent stack-optimizations by default #15595
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⏱️ 2h 16m total CI duration on this PR
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2 tasks
vineethk
force-pushed
the
vk/enable-recent-stack-opts-by-default
branch
from
December 13, 2024 15:48
42a59e5
to
741d779
Compare
vineethk
requested review from
rahxephon89,
fEst1ck and
brmataptos
and removed request for
davidiw and
movekevin
December 13, 2024 16:06
vineethk
force-pushed
the
vk/enable-recent-stack-opts-by-default
branch
from
December 13, 2024 16:29
741d779
to
39d74aa
Compare
rahxephon89
approved these changes
Dec 13, 2024
wrwg
approved these changes
Dec 13, 2024
vineethk
force-pushed
the
vk/enable-recent-stack-opts-by-default
branch
from
December 13, 2024 22:54
39d74aa
to
8a6710f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
vineethk
added a commit
that referenced
this pull request
Dec 16, 2024
vineethk
added a commit
that referenced
this pull request
Dec 16, 2024
georgemitenkov
pushed a commit
that referenced
this pull request
Jan 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In this PR, we enable the optimizations/optimization fixes in #15445 and #15514 by default in compiler v2, eliminating various checks performed all through the code (we eliminate the temporary experiments
AVOID_STORE_IN_ASSIGNS
andRETAIN_TEMPS_FOR_ARGS
and change code such that these are always true).This PR will be merged after the comparison testing for the above two PRs complete.
How Has This Been Tested?
move-compiler-v2
(similar in nature to [compiler-v2][optimization] Create and retain temps for each arg #15514).third_party/move/move-prover/tests/sources/functional/bitwise_features.move
). The test had a comment saying there is a legitimate failure (tracked in [prover] Unit test bitwise_features.move has legit verification failures in v2 which are missing in v1 #12501, which I reopened because it is now reproducible). I created a transactional test (third_party/move/move-compiler-v2/transactional-tests/tests/misc/bitwise_features.move
) corresponding to the function failing to verify, and it passes.Key Areas to Review
Any inadvertent changes where we may have changed the semantics described at the top of the PR.
Type of Change
Which Components or Systems Does This Change Impact?