Update comment.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 12 May 2011 22:35:48 +0000 (22:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 12 May 2011 22:35:48 +0000 (22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131258 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/BranchFolding.cpp

index 0ca54ac386523c513fbae1c86b5c6e2a8fabd3fb..6fafc758d0526e46aab4e2df6d7c59941e14b453 100644 (file)
@@ -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; ) {