mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Explicitly pass in the "unknown" debug location. This is probably not
correct. We need more infrastructure before we can get the DebugLoc info for these instructions. llvm-svn: 63593
This commit is contained in:
parent
cb9d033aa4
commit
78decbdb9d
@ -333,7 +333,8 @@ void FunctionLoweringInfo::set(Function &fn, MachineFunction &mf,
|
||||
unsigned NumRegisters = TLI.getNumRegisters(VT);
|
||||
const TargetInstrInfo *TII = MF->getTarget().getInstrInfo();
|
||||
for (unsigned i = 0; i != NumRegisters; ++i)
|
||||
BuildMI(MBB, TII->get(TargetInstrInfo::PHI), PHIReg+i);
|
||||
BuildMI(MBB, DebugLoc::getUnknownLoc(),
|
||||
TII->get(TargetInstrInfo::PHI), PHIReg + i);
|
||||
PHIReg += NumRegisters;
|
||||
}
|
||||
}
|
||||
|
@ -743,7 +743,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn,
|
||||
unsigned LabelID = MMI->addLandingPad(BB);
|
||||
|
||||
const TargetInstrDesc &II = TII.get(TargetInstrInfo::EH_LABEL);
|
||||
BuildMI(BB, II).addImm(LabelID);
|
||||
BuildMI(BB, DebugLoc::getUnknownLoc(), II).addImm(LabelID);
|
||||
|
||||
// Mark exception register as live in.
|
||||
unsigned Reg = TLI.getExceptionAddressRegister();
|
||||
|
Loading…
Reference in New Issue
Block a user