Fix additional constructor call missed by r297241.

It was added between my build+test and my commit.

llvm-svn: 297244
This commit is contained in:
Daniel Sanders 2017-03-07 23:32:10 +00:00
parent 6b49fa4ca7
commit 1351db49b2
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ bool IRTranslator::translateLandingPad(const User &U,
MIRBuilder.buildInstr(TargetOpcode::EH_LABEL)
.addSym(MF->addLandingPad(&MBB));
LLT Ty{*LP.getType(), *DL};
LLT Ty = getLLTForType(*LP.getType(), *DL);
unsigned Undef = MRI->createGenericVirtualRegister(Ty);
MIRBuilder.buildUndef(Undef);