Repository navigation
Adding vm.optimization_barrier and on-demand ordinal analysis. - #23115
Merged
Merged
Conversation
benvanik
force-pushed
the
users/benvanik/vm-jit-13
branch
4 times, most recently
from
January 14, 2026 05:13
8b598d3 to
e68ce4f
Compare
Moves the optimization barrier into the VM dialect so that VM modules are self-contained and don't need to pull in util dialect ops. A new DropOptimizationBarriers pass strips them prior to serialization. OrdinalAnalysis now computes function/global/rodata ordinals on-demand during bytecode emission instead of storing them as attributes on ops. This simplifies the IR and avoids needing to keep attributes in sync. EmitC has issues but (always has, it's been silently folding for ages).
benvanik
force-pushed
the
users/benvanik/vm-jit-13
branch
from
January 14, 2026 05:51
e68ce4f to
17cbdb8
Compare
benvanik
marked this pull request as ready for review
January 14, 2026 07:47
keshavvinayak01
pushed a commit
that referenced
this pull request
Jan 27, 2026
Moves the optimization barrier into the VM dialect so that VM modules are self-contained and don't need to pull in util dialect ops. A new VM DropOptimizationBarriers pass strips them prior to serialization. OrdinalAnalysis now computes function/global/rodata ordinals on-demand during bytecode emission instead of storing them as attributes on ops to keep the IR cleaner/prevent drift (avoids needing to keep attributes in sync across passes). EmitC has issues but (always has, it's been silently folding for ages). ci-extra: all Signed-off-by: Keshav Vinayak Jha <[email protected]>
MaheshRavishankar
pushed a commit
to MaheshRavishankar/iree
that referenced
this pull request
Feb 24, 2026
…org#23115) Moves the optimization barrier into the VM dialect so that VM modules are self-contained and don't need to pull in util dialect ops. A new VM DropOptimizationBarriers pass strips them prior to serialization. OrdinalAnalysis now computes function/global/rodata ordinals on-demand during bytecode emission instead of storing them as attributes on ops to keep the IR cleaner/prevent drift (avoids needing to keep attributes in sync across passes). EmitC has issues but (always has, it's been silently folding for ages). ci-extra: all
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
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.
Moves the optimization barrier into the VM dialect so that VM modules are self-contained and don't need to pull in util dialect ops. A new VM DropOptimizationBarriers pass strips them prior to serialization. OrdinalAnalysis now computes function/global/rodata ordinals on-demand during bytecode emission instead of storing them as attributes on ops to keep the IR cleaner/prevent drift (avoids needing to keep attributes in sync across passes).
EmitC has issues but (always has, it's been silently folding for ages).
ci-extra: all