diff options
Diffstat (limited to 'lib/Transforms/Scalar/BasicBlockPlacement.cpp')
-rw-r--r-- | lib/Transforms/Scalar/BasicBlockPlacement.cpp | 2 |
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; |