Skip to content

Commit 8f33995

Browse files
committed
[IPSCCP] Fix a mistake in b796eac so the test actually passes
1 parent 945e943 commit 8f33995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/Transforms/Utils/LocalTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ TEST(Local, ExpressionForConstant) {
12041204
IntegerType *Int16Ty = Type::getInt16Ty(Context);
12051205
Expr = createExpression(ConstantInt::getSigned(Int16Ty, -50), Int16Ty);
12061206
EXPECT_NE(Expr, nullptr);
1207-
EXPECT_EQ(Expr->getElement(1), -50U);
1207+
EXPECT_EQ(Expr->getElement(1), -50ULL);
12081208

12091209
IntegerType *Int32Ty = Type::getInt32Ty(Context);
12101210
Expr = createExpression(ConstantInt::get(Int32Ty, 0x7FFFFFFF), Int32Ty);

0 commit comments

Comments
 (0)