[all-commits] [llvm/llvm-project] 0e42c8: NVPTX: Add target names in TargetParser (#212734)
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Jul 30 11:57:58 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e42c871c2c8a40926ad929cfa334fd1d3c98dfa
https://github.com/llvm/llvm-project/commit/0e42c871c2c8a40926ad929cfa334fd1d3c98dfa
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
M clang/lib/Basic/Cuda.cpp
A llvm/include/llvm/TargetParser/NVPTXTargetParser.def
A llvm/include/llvm/TargetParser/NVPTXTargetParser.h
M llvm/lib/TargetParser/CMakeLists.txt
A llvm/lib/TargetParser/NVPTXTargetParser.cpp
M llvm/unittests/TargetParser/CMakeLists.txt
A llvm/unittests/TargetParser/NVPTXTargetParserTest.cpp
M llvm/utils/gn/secondary/llvm/lib/TargetParser/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/TargetParser/BUILD.gn
Log Message:
-----------
NVPTX: Add target names in TargetParser (#212734)
Track the canonical sm name and other target information.
This will eventually be used to reduce the pain of maintaining
OffloadArch in clang; all of the disjoint targets share an
enum which makes target specific covered switches annoying.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
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