[all-commits] [llvm/llvm-project] 87358d: [clang][ARM] Refactor ComputeLLVMTriple code for ARM

David Spickett via All-commits all-commits at lists.llvm.org
Thu Mar 11 02:25:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87358dba8182b4ee2d9eedabb8afb319b59a322b
      https://github.com/llvm/llvm-project/commit/87358dba8182b4ee2d9eedabb8afb319b59a322b
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.h

  Log Message:
  -----------
  [clang][ARM] Refactor ComputeLLVMTriple code for ARM

This moves code that sets the architecture name
and Float ABI into two new functions in
ToolChains/Arch/ARM.cpp. Greatly simplifying ComputeLLVMTriple.

Some light refactoring in setArchNameInTriple to
move local variables closer to their first use.

Reviewed By: ostannard

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




More information about the All-commits mailing list