aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2025-07-13 10:06:07 +0200
committerGitHub <noreply@github.com>2025-07-13 10:06:07 +0200
commit58c0bd196e566f20a6b5e35ff0b57db8fe6b34ca (patch)
tree422094781d185abc307121864e13412d2ddca722 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parenta647fd7ddae8c43d8483d00cb303841ad5b937b0 (diff)
downloadllvm-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