[all-commits] [llvm/llvm-project] 703095: NVPTX: Add target names in TargetParser

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jul 29 03:43:35 PDT 2026


  Branch: refs/heads/users/arsenm/nvptx-target-parser
  Home:   https://github.com/llvm/llvm-project
  Commit: 7030950c8016730ef8656477e724b4a446cf0bfe
      https://github.com/llvm/llvm-project/commit/7030950c8016730ef8656477e724b4a446cf0bfe
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-29 (Wed, 29 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

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 dijoint 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