[llvm] r320762 - [Unit][AArch64] Additional tests for target parsing
Evandro Menezes via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 15:13:04 PST 2017
Author: evandro
Date: Thu Dec 14 15:13:04 2017
New Revision: 320762
URL: http://llvm.org/viewvc/llvm-project?rev=320762&view=rev
Log:
[Unit][AArch64] Additional tests for target parsing
Add Exynos M2/M3 to extension check.
Modified:
llvm/trunk/unittests/Support/TargetParserTest.cpp
Modified: llvm/trunk/unittests/Support/TargetParserTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/TargetParserTest.cpp?rev=320762&r1=320761&r2=320762&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/TargetParserTest.cpp (original)
+++ llvm/trunk/unittests/Support/TargetParserTest.cpp Thu Dec 14 15:13:04 2017
@@ -785,6 +785,10 @@ TEST(TargetParserTest, testAArch64Extens
AArch64::ArchKind::INVALID, "ras"));
EXPECT_FALSE(testAArch64Extension("exynos-m1",
AArch64::ArchKind::INVALID, "ras"));
+ EXPECT_FALSE(testAArch64Extension("exynos-m2",
+ AArch64::ArchKind::INVALID, "ras"));
+ EXPECT_FALSE(testAArch64Extension("exynos-m3",
+ AArch64::ArchKind::INVALID, "ras"));
EXPECT_TRUE(testAArch64Extension("falkor",
AArch64::ArchKind::INVALID, "rdm"));
EXPECT_FALSE(testAArch64Extension("kryo",
More information about the llvm-commits
mailing list