[Mlir-commits] [mlir] [mlir][math] Propagate fast math attrs in AlgebraicSimplification (PR #166802)

Jakub Kuderski llvmlistbot at llvm.org
Fri Nov 7 06:23:15 PST 2025


================
@@ -43,6 +43,7 @@ PowFStrengthReduction::matchAndRewrite(math::PowFOp op,
                                        PatternRewriter &rewriter) const {
   Location loc = op.getLoc();
   Value x = op.getLhs();
+  auto fmf = op.getFastmathAttr().getValue();
----------------
kuhar wrote:

Spell out this type

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


More information about the Mlir-commits mailing list