[all-commits] [llvm/llvm-project] e428ba: [LLVM][ARM] Remove options for armv2, 2A, 3 and 3M

David Spickett via All-commits all-commits at lists.llvm.org
Thu Sep 8 02:50:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e428baf0019e5292d943a8e37bf08f1192a1870c
      https://github.com/llvm/llvm-project/commit/e428baf0019e5292d943a8e37bf08f1192a1870c
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-09-08 (Thu, 08 Sep 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/Support/ARMTargetParser.def
    M llvm/lib/Support/ARMTargetParser.cpp
    M llvm/lib/Target/ARM/ARM.td
    M llvm/lib/Target/ARM/ARMSubtarget.h
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
    R llvm/test/MC/ARM/directive-arch-armv2.s
    R llvm/test/MC/ARM/directive-arch-armv2a.s
    R llvm/test/MC/ARM/directive-arch-armv3.s
    R llvm/test/MC/ARM/directive-arch-armv3m.s
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  [LLVM][ARM] Remove options for armv2, 2A, 3 and 3M

Fixes #57486

These pre v4 architectures are not specifically supported
by codegen. As demonstrated in the linked issue.

GCC has not supported 3M since GCC 9 and presumably
2 and 2A earlier than that. So we are aligned in that sense.

(see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2abd6e34fcf3bd9f9ffafcaa47cdc3ed443f9add)

This removes the options and associated testing.

The Pre_v4 build attribute remains mainly because its absence
would be more confusing. It will not be used other than to
complete the list of build attributes as shown in the ABI.

https://github.com/ARM-software/abi-aa/blob/main/addenda32/addenda32.rst#3352the-target-related-attributes

Reviewed By: nickdesaulniers, peter.smith, rengolin

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




More information about the All-commits mailing list