[Mlir-commits] [mlir] [mlir][Linalg] Split explicit inherent/discardable attribute APIs access (PR #218916)

Renato Golin llvmlistbot at llvm.org
Wed Aug 26 06:18:21 PDT 2026


================
@@ -33,6 +33,15 @@
 using namespace mlir;
 using namespace mlir::linalg;
 
+static Operation *createWithProperties(OpBuilder &builder, Operation *op,
+                                       TypeRange resultTypes,
+                                       ValueRange operands) {
+  OperationState state(op->getLoc(), op->getName(), operands, resultTypes,
----------------
rengolin wrote:

Bit unfortunate to have to expose the `OperationState` builder like that. 

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


More information about the Mlir-commits mailing list