Revert 109076. It is wrong and was causing regressions. Add some
authorDale Johannesen <dalej@apple.com>
Fri, 23 Jul 2010 22:50:23 +0000 (22:50 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 23 Jul 2010 22:50:23 +0000 (22:50 +0000)
commit8086d5800dbe8cc392ce217adccfaca915858aed
tree36ac0b978d4bde7041cd179f2648bd6f03d86c1e
parent3144687df78731ac4ddbc716a24b951678a73f57
Revert 109076.  It is wrong and was causing regressions.  Add some
comments explaining why it was wrong.  8225024.

Fix the real problem in 8213383: the code that splits very large
blocks when no other place to put constants can be found was not
considering the case that the block contained a Thumb tablejump.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109282 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMConstantIslandPass.cpp