[llvm] [NVPTX] Add Intrinsics for applypriority.* (PR #127989)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 20 10:26:47 PST 2025
================
@@ -5043,6 +5043,16 @@ def int_nvvm_prefetch_global_L2_evict_last: Intrinsic<[], [llvm_global_ptr_ty],
def int_nvvm_prefetchu_L1 : Intrinsic<[], [llvm_ptr_ty],
[IntrArgMemOnly, ReadOnly<ArgIndex<0>>, NoCapture<ArgIndex<0>>]>;
+def int_nvvm_applypriority_global_L2_evict_normal
+ : Intrinsic<[], [llvm_global_ptr_ty, llvm_i64_ty],
+ [IntrArgMemOnly, ReadOnly<ArgIndex<0>>, NoCapture<ArgIndex<0>>,
+ ImmArg<ArgIndex<1>>]>;
+
+def int_nvvm_applypriority_L2_evict_normal
----------------
AlexMaclean wrote:
Perhaps it would be cleaner to make this a single overloaded intrinsic with ISel based on the type of the pointer arg?
https://github.com/llvm/llvm-project/pull/127989
More information about the llvm-commits
mailing list