[Sparc] Use call's debugloc for the unimp instruction.

llvm-svn: 187402
This commit is contained in:
Venkatraman Govindaraju 2013-07-30 02:26:29 +00:00
parent 0979e9e130
commit fdcc498a25
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
MachineBasicBlock::iterator J = MI;
++J; // skip the delay filler.
assert (J != MBB.end() && "MI needs a delay instruction.");
BuildMI(MBB, ++J, I->getDebugLoc(),
BuildMI(MBB, ++J, MI->getDebugLoc(),
TII->get(SP::UNIMP)).addImm(structSize);
}
}