summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-05-12 22:35:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-05-12 22:35:48 +0000
commit8a88026ae3d26af11b32a4fad05c77b75cf55a62 (patch)
tree8d49ed6b8fc320ed519ea6295dafdebdd8abaa33
parent4b95aa4c6fce491e3ffc126cc840a367094f71b9 (diff)
downloadbcm5719-llvm-8a88026ae3d26af11b32a4fad05c77b75cf55a62.tar.gz
bcm5719-llvm-8a88026ae3d26af11b32a4fad05c77b75cf55a62.zip
Update comment.
llvm-svn: 131258
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 0ca54ac3865..6fafc758d05 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/lib/CodeGen/BranchFolding.cpp
@@ -1351,8 +1351,6 @@ ReoptimizeBlock:
/// HoistCommonCode - Hoist common instruction sequences at the start of basic
/// blocks to their common predecessor.
-/// NOTE: This optimization does not update live-in information so it must be
-/// run after all passes that require correct liveness information.
bool BranchFolder::HoistCommonCode(MachineFunction &MF) {
bool MadeChange = false;
for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ) {
OpenPOWER on IntegriCloud