[all-commits] [llvm/llvm-project] 67349c: clang/AMDGPU: Simplify cpu name checks for __built...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jun 24 22:31:53 PDT 2026


  Branch: refs/heads/users/arsenm/clang/amdgpu-simplify-builtin-amdgcn-is-processor-check
  Home:   https://github.com/llvm/llvm-project
  Commit: 67349c57eb0c321a0b67f0d12cfa0b8289016ae5
      https://github.com/llvm/llvm-project/commit/67349c57eb0c321a0b67f0d12cfa0b8289016ae5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M clang/lib/Sema/SemaAMDGPU.cpp

  Log Message:
  -----------
  clang/AMDGPU: Simplify cpu name checks for __builtin_amdgcn_is_processor

Instead of trying to figure out which TargetInfo to use, skip it and
directly use the source of truth from TargetParser. This avoids regressions
in future commits where isValidCPUName will be conditionally filtered.



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