Changes in directory llvm/lib/Target/ARM:
ARMConstantIslandPass.cpp updated: 1.21 -> 1.22 --- Log message: Watch out for empty BB. --- Diffs of the changes: (+1 -0) ARMConstantIslandPass.cpp | 1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp diff -u llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.21 llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.22 --- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.21 Thu Feb 1 14:44:52 2007 +++ llvm/lib/Target/ARM/ARMConstantIslandPass.cpp Fri Feb 2 12:49:02 2007 @@ -352,6 +352,7 @@ // In thumb mode, if this block is a constpool island, pessmisticly assume // it needs to be padded by two byte so it's aligned on 4 byte boundary. if (AFI->isThumbFunction() && + MBB.size() && MBB.begin()->getOpcode() == ARM::CONSTPOOL_ENTRY) MBBSize += 2; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits