[Mlir-commits] [mlir] [MLIR][LLVM] Add ftz and fuse FP ops related function attribute support (PR #97812)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Jul 6 07:25:07 PDT 2024


================
@@ -1456,7 +1456,10 @@ def LLVM_LLVMFuncOp : LLVM_Op<"func", [
     OptionalAttr<BoolAttr>:$no_signed_zeros_fp_math,
     OptionalAttr<UnitAttr>:$no_inline,
     OptionalAttr<UnitAttr>:$always_inline,
-    OptionalAttr<UnitAttr>:$optimize_none
+    OptionalAttr<UnitAttr>:$optimize_none,
+    OptionalAttr<StrAttr>:$denormal_fp_math,
+    OptionalAttr<StrAttr>:$denormal_fp_math_f32,
+    OptionalAttr<StrAttr>:$fp_contract
----------------
runseny wrote:

Yeah, these flags are related to fp_math,  so i grouped these flags with other fastMath flags.

https://github.com/llvm/llvm-project/pull/97812


More information about the Mlir-commits mailing list