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

Alex MacLean via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 25 10:30:02 PST 2025


AlexMaclean wrote:

@hanhanW, @akuegel Heads up, if you're using any of these annotations, I expect you'll need to update your respective out-of-tree frontends once this change lands (similar to https://github.com/llvm/llvm-project/pull/119261).

Here's an example of what that might look like:

clang:
https://github.com/llvm/llvm-project/blob/0a227b1a9eddd20b0a679f980faf61866c05fbe2/clang/lib/CodeGen/Targets/NVPTX.cpp#L366

mlir:
https://github.com/llvm/llvm-project/blob/0a227b1a9eddd20b0a679f980faf61866c05fbe2/mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp#L193-L197


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


More information about the cfe-commits mailing list