Skip to content

Commit a5507d2

Browse files
committed
Fix MSVC "32-bit shift implicitly converted to 64 bits" warning. NFC.
1 parent 4f414af commit a5507d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ TEST_F(AMDGPUGISelMITest, TestKnownBitsAssertAlign) {
19611961
EXPECT_EQ(64u, Res.getBitWidth());
19621962
EXPECT_EQ(NumBits, Res.Zero.countTrailingOnes());
19631963
EXPECT_EQ(64u, Res.One.countTrailingZeros());
1964-
EXPECT_EQ(Align(1 << NumBits), Info.computeKnownAlignment(Copies[Idx]));
1964+
EXPECT_EQ(Align(1ull << NumBits), Info.computeKnownAlignment(Copies[Idx]));
19651965
};
19661966

19671967
CheckBits(0, Copies.size() - 7);

0 commit comments

Comments
 (0)