[Mlir-commits] [mlir] [mlir][math] Expand powfI operation for constant power operand. (PR #87081)
Jakub Kuderski
llvmlistbot at llvm.org
Sun Mar 31 12:12:41 PDT 2024
================
@@ -33,6 +31,16 @@ static Value createFloatConst(Location loc, Type type, double value,
return b.create<arith::ConstantOp>(loc, attr);
}
+static Value createFloatConst(Location loc, Type type, APFloat value,
----------------
kuhar wrote:
I'd make the previous helper with `double` call into the new one with `APFloat` to reduce duplication
https://github.com/llvm/llvm-project/pull/87081
More information about the Mlir-commits
mailing list