summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@arm.com>2018-11-28 11:38:10 +0000
committerDavid Spickett <david.spickett@arm.com>2018-11-28 11:38:10 +0000
commite01718cd602b0327a69b43a8bf9086b7cf9ba041 (patch)
tree3dbe31e232038c9b8dd6412f44138403e74fa7e2 /llvm/unittests/Support
parent4d814a93e5b9d130097413bc027efca9524b36ce (diff)
downloadbcm5719-llvm-e01718cd602b0327a69b43a8bf9086b7cf9ba041.tar.gz
bcm5719-llvm-e01718cd602b0327a69b43a8bf9086b7cf9ba041.zip
[ARM, AArch64] Move ARM/AArch64 target parsers into
separate files to enable future changes. This moves ARM and AArch64 target parsing into their own files. They are still accessible through TargetParser.h as before. Several functions in AArch64 which were just forwarders to ARM have been removed. All except AArch64::getFPUName were unused, and that was only used in a test. Which itself was overlapping one in ARM, so it has also been removed. Differential revision: https://reviews.llvm.org/D53980 llvm-svn: 347741
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/TargetParserTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Support/TargetParserTest.cpp b/llvm/unittests/Support/TargetParserTest.cpp
index d069b740ec7..5870024065a 100644
--- a/llvm/unittests/Support/TargetParserTest.cpp
+++ b/llvm/unittests/Support/TargetParserTest.cpp
@@ -690,8 +690,6 @@ bool testAArch64CPU(StringRef CPUName, StringRef ExpectedArch,
StringRef CPUAttr) {
AArch64::ArchKind AK = AArch64::parseCPUArch(CPUName);
bool pass = AArch64::getArchName(AK).equals(ExpectedArch);
- unsigned FPUKind = AArch64::getDefaultFPU(CPUName, AK);
- pass &= AArch64::getFPUName(FPUKind).equals(ExpectedFPU);
unsigned ExtKind = AArch64::getDefaultExtensions(CPUName, AK);
if (ExtKind > 1 && (ExtKind & AArch64::AEK_NONE))
OpenPOWER on IntegriCloud