mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[Sparc] Use call's debugloc for the unimp instruction.
llvm-svn: 187402
This commit is contained in:
parent
f02898d71f
commit
a1da2b1b3a
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user