[all-commits] [llvm/llvm-project] 241a56: [NVPTX] Add Intrinsics for applypriority.* (#127989)

Abhilash Majumder via All-commits all-commits at lists.llvm.org
Thu Feb 27 02:40:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 241a56dfadfdb14363cf98e8b57cfc507c7991f4
      https://github.com/llvm/llvm-project/commit/241a56dfadfdb14363cf98e8b57cfc507c7991f4
  Author: Abhilash Majumder <30946547+abhilash1910 at users.noreply.github.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/docs/NVPTXUsage.rst
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    A llvm/test/CodeGen/NVPTX/applypriority.ll

  Log Message:
  -----------
  [NVPTX] Add Intrinsics for applypriority.* (#127989)

\[NVPTX\] Add ApplyPriority intrinsics

This PR adds applypriority.\* intrinsics with relevant eviction
priorities.

* The lowering is handled from nvvm to nvptx tablegen directly.
* Lit tests are added as part of applypriority.ll
* The generated PTX is verified with a 12.3 ptxas executable.
* Added docs for these intrinsics in NVPTXUsage.rst.

For more information, refer to the PTX ISA

`<https://docs.nvidia.com/cuda/parallel-thread-execution/#data-movement-and-conversion-instructions-applypriority>`_.

---------

Co-authored-by: abmajumder <abmajumder at nvidia.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list