[Mlir-commits] [mlir] [mlir][tosa] Add NaN Propagation Mode Support (PR #121951)

Georgios Pinitas llvmlistbot at llvm.org
Thu Jan 9 04:50:50 PST 2025


================
@@ -361,7 +361,7 @@ struct ClampClampOptimization : public OpRewritePattern<tosa::ClampOp> {
           op, op.getType(), clampOp.getInput(),
           rewriter.getI64IntegerAttr(minInt),
           rewriter.getI64IntegerAttr(maxInt), rewriter.getF32FloatAttr(minFp),
-          rewriter.getF32FloatAttr(maxFp));
+          rewriter.getF32FloatAttr(maxFp), rewriter.getStringAttr("IGNORE"));
----------------
GeorgeARM wrote:

Why is `IGNORE` set here?

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


More information about the Mlir-commits mailing list