[Mlir-commits] [mlir] add `arith::ConstantIntOp` constructor (PR #144638)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Wed Jun 18 02:26:31 PDT 2025
================
@@ -65,6 +67,10 @@ class ConstantIntOp : public arith::ConstantOp {
static void build(OpBuilder &builder, OperationState &result, int64_t value,
Type type);
+ /// Build a constant int op that produces an integer from an APInt
+ static void build(OpBuilder &builder, OperationState &result, Type type,
+ const APInt &value);
----------------
ftynse wrote:
https://llvm.org/docs/GitHub.html#stacked-pull-requests
https://github.com/llvm/llvm-project/pull/144638
More information about the Mlir-commits
mailing list