[llvm-commits] CVS: llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 10 23:22:01 PST 2004


Changes in directory llvm/lib/Transforms/Scalar:

BasicBlockPlacement.cpp updated: 1.1 -> 1.2

---
Log message:

Remove obsolete comment.  Unreachable blocks will automatically be left at the
end of the function.


---
Diffs of the changes:  (+0 -2)

Index: llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp
diff -u llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp:1.1 llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp:1.2
--- llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp:1.1	Tue Feb 10 22:53:20 2004
+++ llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp	Tue Feb 10 23:20:50 2004
@@ -80,8 +80,6 @@
   // 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;





More information about the llvm-commits mailing list