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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jun 25 00:22:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c50b561b96a97e354b0a2b3aaaba9c3fdef1cbeb
      https://github.com/llvm/llvm-project/commit/c50b561b96a97e354b0a2b3aaaba9c3fdef1cbeb
  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 (#205724)

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