[llvm-commits] [llvm] r87056 - /llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp

Jim Grosbach grosbach at apple.com
Thu Nov 12 17:19:25 PST 2009


Author: grosbach
Date: Thu Nov 12 19:19:24 2009
New Revision: 87056

URL: http://llvm.org/viewvc/llvm-project?rev=87056&view=rev
Log:
Block renumbering

Modified:
    llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp?rev=87056&r1=87055&r2=87056&view=diff

==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp Thu Nov 12 19:19:24 2009
@@ -1804,9 +1804,7 @@
   JTBB->addSuccessor(NewBB);
 
   // Update internal data structures to account for the newly inserted MBB.
-  // This is almost the same as UpdateForInsertedWaterBlock, except that
-  // the Water goes after OrigBB, not NewBB.
-  MF.RenumberBlocks(NewBB);
+  MF.RenumberBlocks();
 
   // Insert a size into BBSizes to align it properly with the (newly
   // renumbered) block numbers.





More information about the llvm-commits mailing list