[Mlir-commits] [mlir] [mlir][linalg] Add more precise memory effects to linalg op (PR #92079)

Matthias Springer llvmlistbot at llvm.org
Tue May 14 01:24:25 PDT 2024


================
@@ -1103,28 +1103,39 @@ ParseResult GenericOp::parse(OpAsmParser &parser, OperationState &result) {
 static void getGenericEffectsImpl(
     SmallVectorImpl<SideEffects::EffectInstance<MemoryEffects::Effect>>
         &effects,
-    ValueRange results, const ValueRange inputOperands,
+    LinalgOp linalgOp, ValueRange results, const ValueRange inputOperands,
----------------
matthias-springer wrote:

Can you remove `inputeOperands` and `outputOperands` from the signature? They can be queried from `linalgOp`.

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


More information about the Mlir-commits mailing list