mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-01 18:12:49 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0bab80e0f5
commit
edcbf6e2da
@ -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