Add a -arm-align-constant-islands flag, default off.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 12 Dec 2011 16:49:37 +0000 (16:49 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 12 Dec 2011 16:49:37 +0000 (16:49 +0000)
commitb813f924a749396ffb4a4bd087ee1dbb678551f3
tree16c28a499a54e49ccc2223e24c3e66d4a2276b0a
parent1b3d218880a7147caeb58f2604af1df26a409f7d
Add a -arm-align-constant-islands flag, default off.

Order constant pool entries by descending alignment in the initial
island to ensure packing and correct alignment.  When the command line
flag is set, also align the basic block containing the constant pool
entries.

This is only a partial implementation of constant island alignment. More
to come.

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