-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Wasm irreducible loop transformation #121728
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
AndyAyersMS
merged 30 commits into
dotnet:main
from
AndyAyersMS:WasmIrreducibleLoopTransformation
Nov 22, 2025
Merged
Changes from 25 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d3b1cf0
[Wasm RyuJIT] Wasm control flow basics
AndyAyersMS ca2c9b4
fix release build
AndyAyersMS 39e0bd3
fix llvm build
AndyAyersMS e8882ab
Fix typos
AndyAyersMS 890548e
Fix more typos
AndyAyersMS e2f71b1
[Wasm RyuJIT] Implement Wasm DFS and Loop Finding
AndyAyersMS 4c97a19
fixes
AndyAyersMS 3b3a13d
first cut at integrating SCCs
AndyAyersMS be764e3
transform sccs pre-lower
AndyAyersMS 39f4793
handle blocks only reachable by EH
AndyAyersMS f1e5dcc
format
AndyAyersMS bc53647
remove unreachable first
AndyAyersMS ff1d0ac
fix dump
AndyAyersMS 587f012
merge main
AndyAyersMS 9ec1465
fixup after merge
AndyAyersMS ab5c6f1
add fgwasm.h to wasm headers
AndyAyersMS 80c3311
merge main
AndyAyersMS b2b865f
bail out if there are blocks only reachable by EH. Adjust the scc tra…
AndyAyersMS 3846d86
introduce FgWasm class
AndyAyersMS e413382
Puzzled
AndyAyersMS 488e148
give FgWasm some state
AndyAyersMS 0c382da
no more recursive lambda
AndyAyersMS cf4e92d
start to encapsulate dfs
AndyAyersMS b25a32a
encapsulate dfs and traits
AndyAyersMS bd35fcf
Merge branch 'main' into WasmIrreducibleLoopTransformation
AndyAyersMS 8f6d722
review feedback
AndyAyersMS ea15336
fix typos
AndyAyersMS 8187895
rename method
AndyAyersMS e5b2631
add more eh ret types in places
AndyAyersMS bf0b3bb
disable by default
AndyAyersMS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Is it intentional this was placed before
PHASE_ASYNC, even though it is eventually going to have to be after?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.
Not intentional. It should be moved to just after the async transformation.
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.
Fixed in #121973