[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:47:59 PDT 2024


================
@@ -1351,6 +1351,18 @@ LogicalResult ModuleTranslation::convertOneFunction(LLVMFuncOp func) {
     llvmFunc->addFnAttr("no-signed-zeros-fp-math",
                         llvm::toStringRef(*noSignedZerosFpMath));
 
+  if (auto DenormalFPMath = func.getDenormalFpMath())
----------------
gysit wrote:

```suggestion
  if (auto denormalFPMath = func.getDenormalFpMath())
```
nit: the variable names should start lowercase (below as well).

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


More information about the Mlir-commits mailing list