Skip to content

Commit 2ee10a5

Browse files
committed
fix typo
1 parent 7fae8f1 commit 2ee10a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static const LLT V4S2 = LLT::fixed_vector(4, S2);
3333
static const LLT V3S4 = LLT::fixed_vector(3, S4);
3434
static const LLT V6S4 = LLT::fixed_vector(6, S4);
3535

36-
static const LLT V3S5 = LLT::fixed_vector(2, S5);
36+
static const LLT V3S5 = LLT::fixed_vector(3, S5);
3737

3838
static const LLT V2S6 = LLT::fixed_vector(2, S6);
3939

@@ -339,7 +339,7 @@ TEST(GISelUtilsTest, getLCMType) {
339339
EXPECT_EQ(V6S4, getLCMType(V3S4, S8));
340340
EXPECT_EQ(V3S8, getLCMType(S8, V3S4));
341341

342-
EXPECT_EQ(V6S4, getLCMType(V3S4, V4S8));
342+
EXPECT_EQ(V6S4, getLCMType(V3S4, P4));
343343
EXPECT_EQ(V3P4, getLCMType(P4, V3S4));
344344

345345
EXPECT_EQ(V2S64, getLCMType(V2S64, P0));

0 commit comments

Comments
 (0)