From: Chris Lattner Date: Wed, 11 Feb 2004 05:20:50 +0000 (+0000) Subject: Remove obsolete comment. Unreachable blocks will automatically be left at the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5f55aaf0f052834cf27f19e9181d5f96413107a2;p=oota-llvm.git Remove obsolete comment. Unreachable blocks will automatically be left at the end of the function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11313 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/BasicBlockPlacement.cpp b/lib/Transforms/Scalar/BasicBlockPlacement.cpp index 482faaf8ecb..a25ab0f1215 100644 --- a/lib/Transforms/Scalar/BasicBlockPlacement.cpp +++ b/lib/Transforms/Scalar/BasicBlockPlacement.cpp @@ -80,8 +80,6 @@ bool BlockPlacement::runOnFunction(Function &F) { // Recursively place all blocks. PlaceBlocks(F.begin()); - // If there are any unreachable blocks, move them to the end. - PlacedBlocks.clear(); NumMoved += NumMovedBlocks; return NumMovedBlocks != 0;