mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Explicitly pass in debug location information to BuildMI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1360,7 +1360,8 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, VirtRegMap &VRM) {
|
||||
unsigned RReg = SubIdx ? TRI->getSubReg(Phys, SubIdx) : Phys;
|
||||
MI.getOperand(i).setReg(RReg);
|
||||
if (VRM.isImplicitlyDefined(VirtReg))
|
||||
BuildMI(MBB, &MI, TII->get(TargetInstrInfo::IMPLICIT_DEF), RReg);
|
||||
BuildMI(MBB, &MI, MI.getDebugLoc(),
|
||||
TII->get(TargetInstrInfo::IMPLICIT_DEF), RReg);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user