[PATCH] D103024: [clang][ARM] Remove non-existent arm9312 CPU
David Spickett via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 24 07:04:08 PDT 2021
DavidSpickett created this revision.
Herald added subscribers: danielkiss, kristof.beyls.
DavidSpickett requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
I cannot find documentation on this CPU, and it
is not supported by the Arm Compiler 5 product either.
It was likely a mistake or a different name for the
"ep9312", which is an Arm based Cirrus Logic chip.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103024
Files:
llvm/include/llvm/Support/ARMTargetParser.def
llvm/unittests/Support/TargetParserTest.cpp
Index: llvm/unittests/Support/TargetParserTest.cpp
===================================================================
--- llvm/unittests/Support/TargetParserTest.cpp
+++ llvm/unittests/Support/TargetParserTest.cpp
@@ -143,7 +143,6 @@
ARMCPUTestParams("arm920", "armv4t", "none", ARM::AEK_NONE, "4T"),
ARMCPUTestParams("arm920t", "armv4t", "none", ARM::AEK_NONE, "4T"),
ARMCPUTestParams("arm922t", "armv4t", "none", ARM::AEK_NONE, "4T"),
- ARMCPUTestParams("arm9312", "armv4t", "none", ARM::AEK_NONE, "4T"),
ARMCPUTestParams("arm940t", "armv4t", "none", ARM::AEK_NONE, "4T"),
ARMCPUTestParams("ep9312", "armv4t", "none", ARM::AEK_NONE, "4T"),
ARMCPUTestParams("arm10tdmi", "armv5t", "none", ARM::AEK_NONE, "5T"),
@@ -389,7 +388,7 @@
ARM::AEK_HWDIVARM | ARM::AEK_HWDIVTHUMB | ARM::AEK_DSP,
"7-S")));
-static constexpr unsigned NumARMCPUArchs = 91;
+static constexpr unsigned NumARMCPUArchs = 90;
TEST(TargetParserTest, testARMCPUArchList) {
SmallVector<StringRef, NumARMCPUArchs> List;
Index: llvm/include/llvm/Support/ARMTargetParser.def
===================================================================
--- llvm/include/llvm/Support/ARMTargetParser.def
+++ llvm/include/llvm/Support/ARMTargetParser.def
@@ -220,7 +220,6 @@
ARM_CPU_NAME("arm920", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
ARM_CPU_NAME("arm920t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
ARM_CPU_NAME("arm922t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
-ARM_CPU_NAME("arm9312", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
ARM_CPU_NAME("arm940t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
ARM_CPU_NAME("ep9312", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
ARM_CPU_NAME("arm10tdmi", ARMV5T, FK_NONE, true, ARM::AEK_NONE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103024.347382.patch
Type: text/x-patch
Size: 1794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210524/a4017d30/attachment-0001.bin>
More information about the llvm-commits
mailing list