[Mlir-commits] [mlir] [mlir][linalg] Add more precise memory effects to linalg op (PR #92079)
donald chen
llvmlistbot at llvm.org
Mon May 27 03:13:14 PDT 2024
================
@@ -289,6 +289,9 @@ def MapOp : LinalgStructuredBase_Op<"map", [
bool payloadUsesValueFromOperand(OpOperand * opOperand) {
if (isDpsInit(opOperand)) return false;
+ if (getOperation()->getRegion(0).empty()) {
+ return true;
+ }
----------------
cxy-1993 wrote:
Hi @ftynse, do you have any further comments on the modifications proposed in this patch?
https://github.com/llvm/llvm-project/pull/92079
More information about the Mlir-commits
mailing list