[all-commits] [llvm/llvm-project] 6c2e17: [NVPTX] Convert vector function nvvm.annotations t...

Alex MacLean via All-commits all-commits at lists.llvm.org
Wed Feb 26 08:45:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c2e170d043d3a7d7b32635e887cfd255ef5c2ce
      https://github.com/llvm/llvm-project/commit/6c2e170d043d3a7d7b32635e887cfd255ef5c2ce
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M clang/lib/CodeGen/Targets/NVPTX.cpp
    M clang/test/CodeGenCUDA/launch-bounds.cu
    M clang/test/OpenMP/ompx_attributes_codegen.cpp
    M clang/test/OpenMP/thread_limit_nvptx.c
    M llvm/docs/NVPTXUsage.rst
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXCtorDtorLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
    M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
    M llvm/lib/Target/NVPTX/NVPTXUtilities.h
    M llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
    M llvm/test/Analysis/KernelInfo/launch-bounds/nvptx.ll
    M llvm/test/CodeGen/NVPTX/annotations.ll
    M llvm/test/CodeGen/NVPTX/bug26185-2.ll
    M llvm/test/CodeGen/NVPTX/cluster-dim.ll
    M llvm/test/CodeGen/NVPTX/intr-range.ll
    M llvm/test/CodeGen/NVPTX/lower-ctor-dtor.ll
    M llvm/test/CodeGen/NVPTX/maxclusterrank.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] Convert vector function nvvm.annotations to attributes (#127736)

Replace some more nvvm.annotations with function attributes,
auto-upgrading the annotations as needed. These new attributes will be
more idiomatic and compile-time efficient than the annotations.

- !"maxntid[xyz]" -> "nvvm.maxntid"
- !"reqntid[xyz]" -> "nvvm.reqntid"
- !"cluster_dim_[xyz]" -> "nvvm.cluster_dim"



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