diff options
| author | Tim Noack <tim@noack.id> | 2025-11-10 13:45:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-10 12:45:31 +0000 |
| commit | f22d5884b2847c575b83b067c1c6b69f224f0854 (patch) | |
| tree | 13ef5b04a219e5d5df52bedd3643b663454ad3ad /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
| parent | 342e28f8a94128b00be576b3df6d7629bc97b88b (diff) | |
| download | llvm-f22d5884b2847c575b83b067c1c6b69f224f0854.zip llvm-f22d5884b2847c575b83b067c1c6b69f224f0854.tar.gz llvm-f22d5884b2847c575b83b067c1c6b69f224f0854.tar.bz2 | |
[mlir] Dialect Conversion: Fix expensive pattern check in no-rollback mode (#166576)
Fixes a bug causing every conversion to fail fatally with "expected
pattern to replace the root operation or modify it in place" when
`MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS` is enabled and pattern
rollback is disabled.
When `allowPatternRollback` is disabled, the rewriter does not keep
track of the rewrites it performs and can therefore not use that list to
check whether the root op was replaced or updated in place.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions
