-
Notifications
You must be signed in to change notification settings - Fork 831
Make it possible to skip several passes #6714
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
Conversation
test/lit/passes/O1_skip_passes.wast
Outdated
| (func $foo (export "foo") (param $p i32) | ||
| ;; The locals $x and $y can be coalesced into a single local, but as we do not | ||
| ;; run that pass, they will not be. Other minor optimizations will occur here, | ||
| ;; such as using a tee. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment says a tee will happen, which contradicts the previous one if I am not mistaken?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the test from O1_skip.wast but forgot to update all the comments. This is fixed.
kripken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with those fixes.
test/lit/passes/O1_skip_passes.wast
Outdated
| ;; CHECK-NEXT: ) | ||
| (func $foo (export "foo") (param $p i32) | ||
| ;; The locals $x and $y can be coalesced into a single local, but as | ||
| ;; we do not run that pass, they will not be. The could be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ;; we do not run that pass, they will not be. The could be | |
| ;; we do not run that pass, they will not be. They could be |
test/lit/passes/O1_skip_passes.wast
Outdated
| ;; There should also be no warning in the output. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ;; There should also be no warning in the output. |
May as well delete this as the test is not verifying that atm. (It could in theory if we added additional stuff here, but I don't think it's worth it.)
No description provided.