[Mlir-commits] [clang] [llvm] [mlir] [NVPTX] Convert vector function nvvm.annotations to attributes (PR #127736)

Alex MacLean llvmlistbot at llvm.org
Wed Feb 19 12:53:22 PST 2025


================
@@ -5059,6 +5092,18 @@ bool static upgradeSingleNVVMAnnotation(GlobalValue *GV, StringRef K,
     cast<Function>(GV)->addFnAttr("nvvm.maxnreg", llvm::utostr(CV));
     return true;
   }
+  if (K.consume_front("maxntid") && (K == "x" || K == "y" || K == "z")) {
----------------
AlexMaclean wrote:

Added

https://github.com/llvm/llvm-project/pull/127736


More information about the Mlir-commits mailing list