[Mlir-commits] [mlir] [mlir][arith] Add rounding mode flags to binary arithmetic operations (PR #188458)
Renato Golin
llvmlistbot at llvm.org
Wed Mar 25 03:54:35 PDT 2026
================
@@ -157,6 +157,11 @@ class AttrConverterConstrainedFPToLLVM {
convertedAttr.set(TargetOp::getRoundingModeAttrName(),
convertArithRoundingModeAttrToLLVM(arithAttr));
}
+ // Constrained intrinsics do not support fastmath flags. Remove the
+ // arith fastmath attribute if present.
+ if constexpr (SourceOp::template hasTrait<
----------------
rengolin wrote:
This seems like an unrelated change. Is this something you noticed while refactoring? Do the test cover this case?
https://github.com/llvm/llvm-project/pull/188458
More information about the Mlir-commits
mailing list