projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115e5e6
)
Remove obsolete comment. Unreachable blocks will automatically be left at the
author
Chris Lattner
<sabre@nondot.org>
Wed, 11 Feb 2004 05:20:50 +0000
(
05:20
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 11 Feb 2004 05:20:50 +0000
(
05:20
+0000)
end of the function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11313
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/BasicBlockPlacement.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/BasicBlockPlacement.cpp
b/lib/Transforms/Scalar/BasicBlockPlacement.cpp
index 482faaf8ecbe3e69c2137265759c86d0e8e5366a..a25ab0f12156b29a4a222c302d0bc645645903c7 100644
(file)
--- 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;