mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Remove two tests added in r276957.
These loop from 0 to AEK_XSCALE, which is currently defined as 0x80000000, and thus the tests loop over the entire int range, which is unreasonable and also too slow in debug builds. llvm-svn: 276969
This commit is contained in:
parent
01ce646378
commit
0c39a45c42
@ -213,15 +213,6 @@ TEST(TargetParserTest, ARMArchAttr) {
|
||||
: (kARMARCHNames[AK].ArchAttr == ARM::getArchAttr(AK)));
|
||||
}
|
||||
|
||||
TEST(TargetParserTest, ARMArchExtName) {
|
||||
for (ARM::ArchExtKind AEK = static_cast<ARM::ArchExtKind>(0);
|
||||
AEK <= ARM::ArchExtKind::AEK_XSCALE;
|
||||
AEK = static_cast<ARM::ArchExtKind>(static_cast<unsigned>(AEK) + 1))
|
||||
EXPECT_TRUE(contains(kARMArchExtKinds, static_cast<unsigned>(AEK))
|
||||
? !ARM::getArchExtName(AEK).empty()
|
||||
: ARM::getArchExtName(AEK).empty());
|
||||
}
|
||||
|
||||
TEST(TargetParserTest, ARMArchExtFeature) {
|
||||
const char *ArchExt[][4] = {{"crc", "nocrc", "+crc", "-crc"},
|
||||
{"crypto", "nocrypto", "+crypto", "-crypto"},
|
||||
@ -246,15 +237,6 @@ TEST(TargetParserTest, ARMArchExtFeature) {
|
||||
}
|
||||
}
|
||||
|
||||
TEST(TargetParserTest, ARMHWDivName) {
|
||||
for (ARM::ArchExtKind AEK = static_cast<ARM::ArchExtKind>(0);
|
||||
AEK <= ARM::ArchExtKind::AEK_XSCALE;
|
||||
AEK = static_cast<ARM::ArchExtKind>(static_cast<unsigned>(AEK) + 1))
|
||||
EXPECT_TRUE(contains(kHWDivKinds, static_cast<unsigned>(AEK))
|
||||
? !ARM::getHWDivName(AEK).empty()
|
||||
: ARM::getHWDivName(AEK).empty());
|
||||
}
|
||||
|
||||
TEST(TargetParserTest, ARMDefaultCPU) {
|
||||
for (unsigned i = 0; i < array_lengthof(ARMArch); i++)
|
||||
EXPECT_FALSE(ARM::getDefaultCPU(ARMArch[i]).empty());
|
||||
|
Loading…
x
Reference in New Issue
Block a user