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

Tobias Gysi llvmlistbot at llvm.org
Fri Jul 5 08:48:00 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
----------------
gysit wrote:

nit: Are these flags related to the other fp_math flags above? Would it make sense to group them together?

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


More information about the Mlir-commits mailing list