[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Wed Feb 7 11:38:09 PST 2007
Changes in directory llvm/lib/VMCore:
PassManager.cpp updated: 1.134 -> 1.135
---
Log message:
Do not drop transferred last uses on the floor.
Use handleLastUserOverflow().
---
Diffs of the changes: (+3 -0)
PassManager.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.134 llvm/lib/VMCore/PassManager.cpp:1.135
--- llvm/lib/VMCore/PassManager.cpp:1.134 Mon Feb 5 13:34:17 2007
+++ llvm/lib/VMCore/PassManager.cpp Wed Feb 7 13:37:53 2007
@@ -157,6 +157,7 @@
recordAvailableAnalysis(IP);
} else {
P->assignPassManager(activeStack);
+ activeStack.handleLastUserOverflow();
}
}
@@ -255,6 +256,7 @@
recordAvailableAnalysis(IP);
} else {
P->assignPassManager(activeStack);
+ activeStack.handleLastUserOverflow();
}
}
@@ -1220,6 +1222,7 @@
if (!TLU.empty()) {
Pass *P = dynamic_cast<Pass *>(Parent);
TPM->setLastUser(TLU, P);
+ TLU.clear();
}
}
}
More information about the llvm-commits
mailing list