diff options
author | Matthias Springer <me@m-sp.org> | 2025-07-26 16:28:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-26 16:28:00 +0200 |
commit | 08e101e274feb269f947fc49aea0d0677ce65bcd (patch) | |
tree | 43270436b94a4c6c84129ff43b1c1fb7888d0c05 /llvm/tools/llvm-shlib/libllvm.cpp | |
parent | 931228e28f55b2652b8a92410170c1fe315d09ab (diff) | |
download | llvm-08e101e274feb269f947fc49aea0d0677ce65bcd.zip llvm-08e101e274feb269f947fc49aea0d0677ce65bcd.tar.gz llvm-08e101e274feb269f947fc49aea0d0677ce65bcd.tar.bz2 |
[mlir][Transforms] Dialect Conversion: check for "failure" after modification (#150748)
Add a new "expensive check" when running with `allowPatternRollback =
false`: returning "failure" after modifying IR is no longer allowed.
This check detects a few more API violations in addition to the check
`undoRewrites`. The latter check will be removed soon. (Because the
One-Shot Dialect Conversion will no longer maintain the stack of IR
rewrites.)
Also fix a build error when expensive checks are enabled.
Diffstat (limited to 'llvm/tools/llvm-shlib/libllvm.cpp')
0 files changed, 0 insertions, 0 deletions