ARM: set preferred aggregate alignment to 32 universally.
authorTim Northover <tnorthover@apple.com>
Tue, 14 Oct 2014 20:57:26 +0000 (20:57 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 14 Oct 2014 20:57:26 +0000 (20:57 +0000)
commitaa09ac6e83f24a277d5ce573ebe2e9b9987b5dad
treec283393fba5923848c30ca91781ef8cb1a70ef85
parentdb5f86a9bf983dc0f3ea659bc1897803b8f1fd52
ARM: set preferred aggregate alignment to 32 universally.

Before, ARM and Thumb mode code had different preferred alignments, which could
lead to some rather unexpected results. There's justification for reducing it
from the default 64-bits (wasted space), but I don't think there is for going
below 32-bits.

There's no actual ABI change here, just to reassure people.

llvm-svn: 219719
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/test/CodeGen/ARM/aggregate-align.ll [new file with mode: 0644]