[Mlir-commits] [mlir] [MLIR][memref] Fix normalization issue in memref.load (PR #107771)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Sep 14 06:39:27 PDT 2024
================
@@ -1146,7 +1147,88 @@ LogicalResult mlir::affine::replaceAllMemRefUsesWith(
// is set.
return failure();
}
- op->setOperand(memRefOperandPos, newMemRef);
+
+ // Check if it is a memref.load
+ auto memrefLoad = dyn_cast<memref::LoadOp>(op);
----------------
DarshanRamakant wrote:
Done
https://github.com/llvm/llvm-project/pull/107771
More information about the Mlir-commits
mailing list