[llvm] [NVPTX] Add pm_event intrinsics (PR #141278)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Fri May 23 12:03:41 PDT 2025
================
@@ -768,6 +768,18 @@ let TargetPrefix = "nvvm" in {
DefaultAttrsIntrinsic<[], [llvm_i32_ty],
[IntrConvergent, IntrNoMem, IntrHasSideEffects]>;
+ // Performance Monitor Events (pm events) intrinsics
+ // The imm-argument to the _idx variant must be
+ // within the range [0, 16).
+ def int_nvvm_pm_event_idx : NVVMBuiltin,
----------------
AlexMaclean wrote:
I think we should remove NVVMBuiltin if we are not actually adding builtin support in this change.
https://github.com/llvm/llvm-project/pull/141278
More information about the llvm-commits
mailing list