projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make some fixes for LiveInterval repair with debug info. Debug value
[oota-llvm.git]
/
lib
/
CodeGen
/
SlotIndexes.cpp
diff --git
a/lib/CodeGen/SlotIndexes.cpp
b/lib/CodeGen/SlotIndexes.cpp
index f2937941ee9fc4ae048d100e2debdf1a6d680c26..20049a89d15d8e8d9493198ac60bd81512f11ce4 100644
(file)
--- a/
lib/CodeGen/SlotIndexes.cpp
+++ b/
lib/CodeGen/SlotIndexes.cpp
@@
-208,7
+208,7
@@
void SlotIndexes::repairIndexesInRange(MachineBasicBlock *MBB,
for (MachineBasicBlock::iterator I = End; I != Begin;) {
--I;
MachineInstr *MI = I;
- if (mi2iMap.find(MI) == mi2iMap.end())
+ if (
!MI->isDebugValue() &&
mi2iMap.find(MI) == mi2iMap.end())
insertMachineInstrInMaps(MI);
}
}