llvm-project
d45b427e - [MLIR] Define memory effects for `memref.prefetch` operation (#151261)

Commit
19 hours ago
[MLIR] Define memory effects for `memref.prefetch` operation (#151261) Currently `memref.prefetch` has no memory side effects, which are necessary for some optimizations. This PR adds the needed side effect, as recommended in https://discourse.llvm.org/t/modeling-volatility-with-memory-effects/67946 This PR was created after a discussion on this specific topic here https://discourse.llvm.org/t/memref-prefetch-op-has-no-memory-side-effects-decoration-in-the-def-td-file/87482 --------- Signed-off-by: Alexandre Eichenberger <alexe@us.ibm.com>
Parents
Loading