clarify comment
authorJim Grosbach <grosbach@apple.com>
Mon, 16 Nov 2009 18:55:47 +0000 (18:55 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 16 Nov 2009 18:55:47 +0000 (18:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88933 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMConstantIslandPass.cpp

index e3b577e21ec27a07d95dc95ace80fd9f009a187b..52cdd7bd24a142458b6d45bd5dede39a298cfc8a 100644 (file)
@@ -1718,8 +1718,8 @@ bool ARMConstantIslands::OptimizeThumb2JumpTables(MachineFunction &MF) {
   return MadeChange;
 }
 
-/// ReorderThumb2JumpTables - Use tbb / tbh instructions to generate smaller
-/// jumptables when it's possible.
+/// ReorderThumb2JumpTables - Adjust the function's block layout to ensure that
+/// jump tables always branch forwards, since that's what tbb and tbh need.
 bool ARMConstantIslands::ReorderThumb2JumpTables(MachineFunction &MF) {
   bool MadeChange = false;