Remove alignment from deserted constant islands.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 6 Dec 2011 21:55:35 +0000 (21:55 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 6 Dec 2011 21:55:35 +0000 (21:55 +0000)
commit305e5fe797cbba32d8091d687d47e98c8f3ee1f4
treef8f1465b9c3304ebd27cd58c36dc1696dfaf9582
parent581ac2723c5cb5182114092591eb5e21ceea2e77
Remove alignment from deserted constant islands.

ARMConstantIslandPass may sometimes leave empty constant islands behind
(it really shouldn't). Remove the alignment from the empty islands so
the size calculations are still correct.

This should fix the many Thumb1 assembler errors in the nightly test
suite.

The reduced test case for this problem is way too big. That is to be
expected for ARMConstantIslandPass bugs.

<rdar://problem/10534709>

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