Align ARM constant pool islands via their basic block.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 6 Dec 2011 01:43:02 +0000 (01:43 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 6 Dec 2011 01:43:02 +0000 (01:43 +0000)
commit3e572ac2fbdf6aa538500be07b9b050ac008669e
tree4f35a5d28d4599ad1a9df65847914feccfcb6c95
parent8c741b8064f1116d8d8dc435b60b75abdf5c4d57
Align ARM constant pool islands via their basic block.

Previously, all ARM::CONSTPOOL_ENTRY instructions had a hardwired
alignment of 4 bytes emitted by ARMAsmPrinter.  Now the same alignment
is set on the basic block.

This is in preparation of supporting ARM constant pool islands with
different alignments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145890 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMAsmPrinter.cpp
lib/Target/ARM/ARMConstantIslandPass.cpp
test/CodeGen/ARM/globals.ll