ARM: set preferred aggregate alignment to 32 universally.
authorTim Northover <tnorthover@apple.com>
Tue, 14 Oct 2014 20:57:29 +0000 (20:57 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 14 Oct 2014 20:57:29 +0000 (20:57 +0000)
commitb98dc4b015c7b59d11dccc4d86b30c310e9335f2
tree0f1b94f61bd436cb8aae22256bf0079cf5d92261
parentaa09ac6e83f24a277d5ce573ebe2e9b9987b5dad
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: 219720
clang/lib/Basic/Targets.cpp
clang/test/CodeGen/target-data.c