aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/BasicBlockPlacement.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-11 05:20:50 +0000
committerChris Lattner <sabre@nondot.org>2004-02-11 05:20:50 +0000
commit5f55aaf0f052834cf27f19e9181d5f96413107a2 (patch)
tree9e32387ea08d545ffcd167d02ec4c79033a29809 /lib/Transforms/Scalar/BasicBlockPlacement.cpp
parent115e5e6abb1c0afdf4767e258c5175f6167d590d (diff)
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
Diffstat (limited to 'lib/Transforms/Scalar/BasicBlockPlacement.cpp')
-rw-r--r--lib/Transforms/Scalar/BasicBlockPlacement.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/BasicBlockPlacement.cpp b/lib/Transforms/Scalar/BasicBlockPlacement.cpp
index 482faaf8ec..a25ab0f121 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;