[Mlir-commits] [mlir] [mlir][arith][transforms] Adds Truncf f32 to f4e2m1 (PR #144157)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Jun 16 10:09:02 PDT 2025
================
@@ -34,6 +34,18 @@ static Value createConst(Location loc, Type type, int value,
return rewriter.create<arith::ConstantOp>(loc, attr);
}
+/// Create an float constant.
+static Value createFloatConst(Location loc, Type type, float value,
----------------
Muzammiluddin-Syed-ECE wrote:
done
https://github.com/llvm/llvm-project/pull/144157
More information about the Mlir-commits
mailing list