aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2025-04-19 10:01:50 +0200
committerGitHub <noreply@github.com>2025-04-19 10:01:50 +0200
commitc47042c5b3f5e87761715a9277712721512cd48d (patch)
treea7a1e99af2fd4f40e56d677a44b06a4df2041a07 /llvm/lib/Bitcode
parent90de46c51b52226f41354da6d6c488500632f566 (diff)
downloadllvm-c47042c5b3f5e87761715a9277712721512cd48d.zip
llvm-c47042c5b3f5e87761715a9277712721512cd48d.tar.gz
llvm-c47042c5b3f5e87761715a9277712721512cd48d.tar.bz2
[mlir][SPRIV][NFC] Avoid rollback in `TypeCastingOpPattern` (#136284)
This pattern used to create an op and then attached the converted rounding mode attribute. When the latter failed, the pattern aborted and a rollback was triggered. This commit inverses the logic: the converted rounding mode is computed first, so that no changes have to be rolled back. Note: This is in preparation of the One-Shot Dialect Conversion refactoring.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions