projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get rid of the EdgeMapping map. Instead, just check for BasicBlock
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsDelaySlotFiller.cpp
diff --git
a/lib/Target/Mips/MipsDelaySlotFiller.cpp
b/lib/Target/Mips/MipsDelaySlotFiller.cpp
index 4825b29d7115885bab57a2dff1b92494c09a3148..a2b615d8add2aa929154020778fa38a40b639590 100644
(file)
--- a/
lib/Target/Mips/MipsDelaySlotFiller.cpp
+++ b/
lib/Target/Mips/MipsDelaySlotFiller.cpp
@@
-62,7
+62,7
@@
runOnMachineBasicBlock(MachineBasicBlock &MBB)
if (I->getDesc().hasDelaySlot()) {
MachineBasicBlock::iterator J = I;
++J;
- BuildMI(MBB, J, TII->get(Mips::NOP));
+ BuildMI(MBB, J,
I->getDebugLoc(),
TII->get(Mips::NOP));
++FilledSlots;
Changed = true;
}