[Mlir-commits] [mlir] Memref prefetch side effect (PR #151261)
Mehdi Amini
llvmlistbot at llvm.org
Thu Jul 31 09:37:58 PDT 2025
================
@@ -1351,7 +1351,8 @@ def MemRef_PrefetchOp : MemRef_Op<"prefetch"> {
instruction cache.
}];
- let arguments = (ins AnyMemRef:$memref, Variadic<Index>:$indices,
+ let arguments = (ins Arg<AnyMemRef, "prefetch address", [MemWrite]> :$memref,
----------------
joker-eph wrote:
Why do you need to "write to the buffer" semantically here?
(it's worth a comment, as this may not be intuitive!)
https://github.com/llvm/llvm-project/pull/151261
More information about the Mlir-commits
mailing list