[all-commits] [llvm/llvm-project] 06bcc3: [NVPTX] Auto-upgrade nvvm.grid_constant to param a...

Alex MacLean via All-commits all-commits at lists.llvm.org
Wed Aug 27 16:32:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06bcc34e3d80403f22e9b1317f6519e3c63dc5df
      https://github.com/llvm/llvm-project/commit/06bcc34e3d80403f22e9b1317f6519e3c63dc5df
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M clang/lib/CodeGen/Targets/NVPTX.cpp
    M clang/test/CodeGenCUDA/grid-constant.cu
    M llvm/docs/NVPTXUsage.rst
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
    M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
    M llvm/test/CodeGen/NVPTX/upgrade-nvvm-annotations.ll
    M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/nvvmir.mlir

  Log Message:
  -----------
  [NVPTX] Auto-upgrade nvvm.grid_constant to param attribute (#155489)

Upgrade the !"grid_constant" !nvvm.annotation to a "nvvm.grid_constant"
attribute. This attribute is much simpler for front-ends to apply and
faster and simpler to query.



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