[all-commits] [llvm/llvm-project] 21674d: clang-linker-wrapper: Use AMDGPU::TargetID for dev...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 13 03:45:24 PDT 2026


  Branch: refs/heads/users/arsenm/clang-linker-wrapper-triple-compat-check
  Home:   https://github.com/llvm/llvm-project
  Commit: 21674da283cd7d47f162988890f1f337753e4018
      https://github.com/llvm/llvm-project/commit/21674da283cd7d47f162988890f1f337753e4018
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
    M llvm/lib/Object/OffloadBinary.cpp
    M llvm/lib/TargetParser/AMDGPUTargetParser.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  clang-linker-wrapper: Use AMDGPU::TargetID for device-image compatibility

Previously the link compatibilty was based on a raw string match of the
triple + cpu name. Start parsing the triple, and use the compatibility
function. Start using AMDGPU::TargetID from TargetParser, as a step towards
removing clang's redundant TargetID handling.

Co-authored-by: Claude (Opus 4.8)



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