summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-02-13 02:31:35 +0000
committerDale Johannesen <dalej@apple.com>2009-02-13 02:31:35 +0000
commit215a9257666e146aaa954e2ecd581f46f28e1c30 (patch)
treea7f39c6c5cde70cf25f9f365ec2a0b4f2dbb0d6c /llvm/lib/Target/Sparc/DelaySlotFiller.cpp
parent1efaaeaa69c9856d2379e6246bd8253bc0680aa7 (diff)
downloadbcm5719-llvm-215a9257666e146aaa954e2ecd581f46f28e1c30.tar.gz
bcm5719-llvm-215a9257666e146aaa954e2ecd581f46f28e1c30.zip
Remove non-DebugLoc versions of buildMI from Sparc.
llvm-svn: 64435
Diffstat (limited to 'llvm/lib/Target/Sparc/DelaySlotFiller.cpp')
-rw-r--r--llvm/lib/Target/Sparc/DelaySlotFiller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
index f6648a87005..15b26c29872 100644
--- a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
+++ b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
@@ -68,7 +68,7 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
if (I->getDesc().hasDelaySlot()) {
MachineBasicBlock::iterator J = I;
++J;
- BuildMI(MBB, J, TII->get(SP::NOP));
+ BuildMI(MBB, J, DebugLoc::getUnknownLoc(), TII->get(SP::NOP));
++FilledSlots;
Changed = true;
}
OpenPOWER on IntegriCloud