[Mlir-commits] [mlir] add `arith::ConstantIntOp` constructor (PR #144638)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Wed Jun 18 00:07:20 PDT 2025


================
@@ -78,6 +84,8 @@ class ConstantFloatOp : public arith::ConstantOp {
   using arith::ConstantOp::ConstantOp;
   static ::mlir::TypeID resolveTypeID() { return TypeID::get<ConstantOp>(); }
 
+  using arith::ConstantOp::build;
+
----------------
ftynse wrote:

Please don't make changes that are irrelevant to the PR description. It says `ConstantIntOp`, it shouldn't touch `ConstantFloatOp` or say otherwise.

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


More information about the Mlir-commits mailing list