AArch64: strengthen Darwin ABI alignment assumptions
authorTim Northover <tnorthover@apple.com>
Tue, 2 Dec 2014 23:53:43 +0000 (23:53 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 2 Dec 2014 23:53:43 +0000 (23:53 +0000)
commit09d2a61cd4a15a641a72f8e2ff422fa3657f6047
treedd81aa2cc8399b00932db2d02a4c93401aaccbab
parentdfc69d2c27e817d1c2eba44362f7f7edecb64dc4
AArch64: strengthen Darwin ABI alignment assumptions

A global variable without an explicit alignment specified should be assumed to
be ABI-aligned according to its type, like on other platforms. This allows us
to use better memory operations when accessing it.

rdar://18533701

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223180 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
test/CodeGen/AArch64/arm64-promote-const.ll
test/CodeGen/AArch64/global-merge-1.ll
test/CodeGen/AArch64/global-merge-2.ll