forked from OSchip/llvm-project
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:
parent
6b49fa4ca7
commit
1351db49b2
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue