[all-commits] [llvm/llvm-project] 33fa98: [Clang][AArch64] Extract get target CPU by triple ...

Tomer Shafir via All-commits all-commits at lists.llvm.org
Mon Feb 9 23:34:11 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33fa987357c291fd48520e5562c630db94ed2043
      https://github.com/llvm/llvm-project/commit/33fa987357c291fd48520e5562c630db94ed2043
  Author: Tomer Shafir <tomer.shafir8 at gmail.com>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp

  Log Message:
  -----------
  [Clang][AArch64] Extract get target CPU by triple (NFC) (#179097)

This patch refactors the AArch64 target resolution in Clang driver,
extracting a new static local function called
`getAArch64TargetCPUByTriple` to reduce redundant checks at runtime.
Previously, `getAArch64TargetFeatures` would redundantly double-check
`march` and `mcpu` arguments. Also removes some uninformative comments
on the way.



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