diff options
author | Matthias Springer <me@m-sp.org> | 2025-07-13 10:06:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-13 10:06:07 +0200 |
commit | 58c0bd196e566f20a6b5e35ff0b57db8fe6b34ca (patch) | |
tree | 422094781d185abc307121864e13412d2ddca722 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | a647fd7ddae8c43d8483d00cb303841ad5b937b0 (diff) | |
download | llvm-58c0bd196e566f20a6b5e35ff0b57db8fe6b34ca.zip llvm-58c0bd196e566f20a6b5e35ff0b57db8fe6b34ca.tar.gz llvm-58c0bd196e566f20a6b5e35ff0b57db8fe6b34ca.tar.bz2 |
[mlir][Transforms] Dialect Conversion: `allowPatternRollback` to check foldings (#148394)
When an operation is folded to an attribute, the attribute must be
materialized as a constant operation. That operation must then be
legalized. If such a legalization fails, the entire folding is rolled
back. This is not supported in a One-Shot Dialect Conversion. (Support
for rolling back foldings could be added at a later point of time.)
This commit improves the `allowPatternRollback` flag handling, such that
a fatal error is reported when a folder is attempted to be rolled back.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions