[all-commits] [llvm/llvm-project] 9f9797: clang: Replace Is*OffloadArch free functions with ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jul 31 14:38:32 PDT 2026


  Branch: refs/heads/users/arsenm/clang/offloadarch-use-direct-methods
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f9797405935e7b9ed03a57c4c70273739e8cfb4
      https://github.com/llvm/llvm-project/commit/9f9797405935e7b9ed03a57c4c70273739e8cfb4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M clang/include/clang/Basic/OffloadArch.h
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Basic/Targets/NVPTX.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
    M clang/unittests/Basic/OffloadArchTest.cpp

  Log Message:
  -----------
  clang: Replace Is*OffloadArch free functions with OffloadArch methods

Drop the IsNVIDIAOffloadArch/IsAMDOffloadArch/IsIntel*OffloadArch free
functions in favor of the OffloadArch member predicate functions.

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