[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:40 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:

nit: separate functions with an empty line
```suggestion

static Value createFloatConst(Location loc, Type type, APFloat value,
```

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


More information about the Mlir-commits mailing list