[Mlir-commits] [mlir] [MLIR][NVVM] Add prefetch Ops (PR #141737)
Durgadoss R
llvmlistbot at llvm.org
Wed Jun 4 03:16:03 PDT 2025
================
@@ -1205,6 +1205,40 @@ LogicalResult NVVM::VoteSyncOp::verify() {
return success();
}
+LogicalResult NVVM::PrefetchOp::verify() {
+ unsigned addressSpace =
+ llvm::cast<LLVM::LLVMPointerType>(getAddr().getType()).getAddressSpace();
+ auto evictPriority = getEvictPriority();
----------------
durga4github wrote:
I think we can use a similar variable for the getCacheLevel() also, since it is used in a few places
https://github.com/llvm/llvm-project/pull/141737
More information about the Mlir-commits
mailing list