mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
Remove obsolete XFAIL for a test that used to sometimes miscompile under
FreeBSD with gcc 4.2.1, a long time ago (see r113824). Noticed by Pete Cooper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e37fa0be6d
commit
b98adc86e7
@ -47,9 +47,6 @@ TEST(APIntTest, i128_NegativeCount) {
|
||||
EXPECT_EQ(-1, Minus1.getSExtValue());
|
||||
}
|
||||
|
||||
// XFAIL this test on FreeBSD where the system gcc-4.2.1 seems to miscompile it.
|
||||
#if defined(__llvm__) || !defined(__FreeBSD__)
|
||||
|
||||
TEST(APIntTest, i33_Count) {
|
||||
APInt i33minus2(33, static_cast<uint64_t>(-2), true);
|
||||
EXPECT_EQ(0u, i33minus2.countLeadingZeros());
|
||||
@ -61,8 +58,6 @@ TEST(APIntTest, i33_Count) {
|
||||
EXPECT_EQ(((uint64_t)-2)&((1ull<<33) -1), i33minus2.getZExtValue());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
TEST(APIntTest, i65_Count) {
|
||||
APInt i65(65, 0, true);
|
||||
EXPECT_EQ(65u, i65.countLeadingZeros());
|
||||
|
Loading…
x
Reference in New Issue
Block a user