Skip to content

Add build flag to enable reverse iteration over llvm maps#23161

Merged
kuhar merged 1 commit intoiree-org:mainfrom
kuhar:reverse-iterate
Jan 16, 2026
Merged

Add build flag to enable reverse iteration over llvm maps#23161
kuhar merged 1 commit intoiree-org:mainfrom
kuhar:reverse-iterate

Conversation

@kuhar
Copy link
Member

@kuhar kuhar commented Jan 16, 2026

You can enable it with -DIREE_REVERSE_ITERATION=On.

I found 4 failing tests but there might be more non-determinism.

iree/compiler/Dialect/Stream/Transforms/test/automatic_reference_counting.mlir
iree/compiler/Dialect/Stream/Transforms/test/automatic_reference_counting_scf.mlir
iree/compiler/Dialect/Util/Transforms/test/hoist_into_globals.mlir
iree/compiler/GlobalOptimization/test/hoist_into_globals.mlir

Once fixed, I plan to enable this in CI.

You can enable it with `-DIREE_REVERSE_ITERATION=On`.
@kuhar kuhar merged commit 4b0d9fa into iree-org:main Jan 16, 2026
51 of 54 checks passed
keshavvinayak01 pushed a commit that referenced this pull request Jan 27, 2026
You can enable it with `-DIREE_REVERSE_ITERATION=On`.

I found 4 failing tests but there might be more non-determinism.
```
iree/compiler/Dialect/Stream/Transforms/test/automatic_reference_counting.mlir
iree/compiler/Dialect/Stream/Transforms/test/automatic_reference_counting_scf.mlir
iree/compiler/Dialect/Util/Transforms/test/hoist_into_globals.mlir
iree/compiler/GlobalOptimization/test/hoist_into_globals.mlir
```

Once fixed, I plan to enable this in CI.

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha@gmail.com>
keshavvinayak01 pushed a commit that referenced this pull request Jan 27, 2026
)

Using #23161

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha@gmail.com>
MaheshRavishankar pushed a commit to MaheshRavishankar/iree that referenced this pull request Feb 24, 2026
…3161)

You can enable it with `-DIREE_REVERSE_ITERATION=On`.

I found 4 failing tests but there might be more non-determinism.
```
iree/compiler/Dialect/Stream/Transforms/test/automatic_reference_counting.mlir
iree/compiler/Dialect/Stream/Transforms/test/automatic_reference_counting_scf.mlir
iree/compiler/Dialect/Util/Transforms/test/hoist_into_globals.mlir
iree/compiler/GlobalOptimization/test/hoist_into_globals.mlir
```

Once fixed, I plan to enable this in CI.
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.

2 participants