[all-commits] [llvm/llvm-project] 103bbd: [ARM] Move Triple::getARMCPUForArch into ARMTarget...

tmatheson-arm via All-commits all-commits at lists.llvm.org
Wed Nov 9 03:54:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 103bbddde66f4157b52c2b6d7532c1dd0dfcaf94
      https://github.com/llvm/llvm-project/commit/103bbddde66f4157b52c2b6d7532c1dd0dfcaf94
  Author: Tomas Matheson <tomas.matheson at arm.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M lldb/source/Utility/ArchSpec.cpp
    M llvm/include/llvm/ADT/Triple.h
    M llvm/include/llvm/Support/ARMTargetParser.h
    M llvm/lib/Support/ARMTargetParser.cpp
    M llvm/lib/Support/Triple.cpp
    M llvm/unittests/ADT/TripleTest.cpp
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  [ARM] Move Triple::getARMCPUForArch into ARMTargetParser

This is very backend specific so either belongs in Toolchains/ARM or in
ARMTargetParser. Since it is used in lldb, ARMTargetParser made more sense.

This is part of an effort to move information about ARM/AArch64 architecture
versions, extensions and CPUs into their respective TargetParsers.

Differential Revision: https://reviews.llvm.org/D137564




More information about the All-commits mailing list