[all-commits] [llvm/llvm-project] f4543d: [clang][ARM] Remove arm2/3/6/7m CPU names

David Spickett via All-commits all-commits at lists.llvm.org
Thu Jun 3 01:56:02 PDT 2021


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

  Changed paths:
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/include/llvm/Support/ARMTargetParser.def
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  [clang][ARM] Remove arm2/3/6/7m CPU names

These legacy CPUs are known to clang but not llvm.
Their use was ignored by llvm and it would print a
warning saying it did not recognise them.

However because some of them are default CPUs for their
architecture, you would get those warnings even if you didn't
choose a cpu explicitly.
(now those architectures will default to a "generic" CPU)

Information is thin on the ground for these older chips
so this is the best I could find:
https://en.wikichip.org/wiki/acorn/microarchitectures/arm2
https://en.wikichip.org/wiki/acorn/microarchitectures/arm3
https://en.wikichip.org/wiki/arm_holdings/microarchitectures/arm6
https://en.wikichip.org/wiki/arm_holdings/microarchitectures/arm7

Final part of fixing https://bugs.llvm.org/show_bug.cgi?id=50454.

Reviewed By: efriedma

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




More information about the All-commits mailing list