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)
commiteddeac0b8c80895e3523b4d9af6334ff4a521d7d
tree6c3e5646696287047310d8096eac24ac006eafeb
parent2a77e6bdd19c48bc943bd8f63e2cdc12249c6629
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219719 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp
test/CodeGen/ARM/aggregate-align.ll [new file with mode: 0644]