OSDN Git Service

Fix additional constructor call missed by r297241.
[android-x86/external-llvm.git] / lib / CodeGen / GlobalISel / IRTranslator.cpp
index da6fca6..488869f 100644 (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);