[all-commits] [llvm/llvm-project] de7438: [NVPTX] Auto-Upgrade some nvvm.annotations to attr...
Alex MacLean via All-commits
all-commits at lists.llvm.org
Wed Jan 29 16:27:49 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de7438e472839df63e1f10478436c2f15b8e4184
https://github.com/llvm/llvm-project/commit/de7438e472839df63e1f10478436c2f15b8e4184
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-01-29 (Wed, 29 Jan 2025)
Changed paths:
M llvm/include/llvm/IR/AutoUpgrade.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.h
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
A llvm/test/CodeGen/NVPTX/upgrade-nvvm-annotations.ll
Log Message:
-----------
[NVPTX] Auto-Upgrade some nvvm.annotations to attributes (#119261)
Add a new AutoUpgrade function to convert some legacy nvvm.annotations
metadata to function level attributes. These attributes are quicker to
look-up so improve compile time and are more idiomatic than using
metadata which should not include required information that changes the
meaning of the program.
Currently supported annotations are:
- !"kernel" -> ptx_kernel calling convention
- !"align" -> alignstack parameter attributes (return not yet supported)
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