projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure we iterate over newly created instructions. Fixes pr13625. Testcase to
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineLoopInfo.cpp
diff --git
a/lib/CodeGen/MachineLoopInfo.cpp
b/lib/CodeGen/MachineLoopInfo.cpp
index 05d2f2a88570374619832382746a02931a4e37fb..27afeec1d9736ddc6f777271a7f310dc31eb8049 100644
(file)
--- a/
lib/CodeGen/MachineLoopInfo.cpp
+++ b/
lib/CodeGen/MachineLoopInfo.cpp
@@
-74,7
+74,7
@@
MachineBasicBlock *MachineLoop::getBottomBlock() {
return BotMBB;
}
-#if
ndef NDEBUG
+#if
!defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MachineLoop::dump() const {
print(dbgs());
}