[clang] [llvm] [NVPTX] Add pm_event intrinsics (PR #141278)
Durgadoss R via cfe-commits
cfe-commits at lists.llvm.org
Mon May 26 06:22:49 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,
----------------
durga4github wrote:
sorry for missing it,
I have added the clang-builtin and its test in the latest revision.
https://github.com/llvm/llvm-project/pull/141278
More information about the cfe-commits
mailing list