diff options
Diffstat (limited to 'llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp')
-rw-r--r-- | llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp b/llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp index 676c7ee..24c1334 100644 --- a/llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp +++ b/llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp @@ -428,7 +428,7 @@ TEST_F(AArch64GISelMITest, MatchSpecificType) { m_GAdd(m_SpecificType(s64), m_Reg()))); // Try to match the destination type of a bitcast. - LLT v2s32 = LLT::vector(2, 32); + LLT v2s32 = LLT::fixed_vector(2, 32); auto MIBCast = B.buildCast(v2s32, Copies[0]); EXPECT_TRUE( mi_match(MIBCast.getReg(0), *MRI, m_GBitcast(m_Reg()))); |