summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
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
commit6175e03825070f53b17deeb9156935ac1ac06672 (patch)
tree43febed96da2c90e5379b66e11d9e93db169f5cc /lib/CodeGen/BranchFolding.cpp
parent60bf5c3197c235a9965f887d95f40d6ba26b7172 (diff)
downloadllvm-6175e03825070f53b17deeb9156935ac1ac06672.tar.gz
llvm-6175e03825070f53b17deeb9156935ac1ac06672.tar.bz2
llvm-6175e03825070f53b17deeb9156935ac1ac06672.tar.xz
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 0ca54ac386..6fafc758d0 100644
--- a/lib/CodeGen/BranchFolding.cpp
+++ b/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; ) {