]> granicus.if.org Git - clang/commit
[ARM] Fix Neon vector type alignment to 64-bit
authorJaved Absar <javed.absar@arm.com>
Tue, 30 May 2017 10:12:15 +0000 (10:12 +0000)
committerJaved Absar <javed.absar@arm.com>
Tue, 30 May 2017 10:12:15 +0000 (10:12 +0000)
commit14af7897308db385738c41134ea4521443cb9b95
tree3a006a7f5955f1a482c212d6a449a1c5eec3541a
parente2d94330ab2852f4528dd84764b932a8179b25eb
[ARM] Fix Neon vector type alignment to 64-bit

The maximum alignment for ARM NEON data types should be 64-bits as specified
in ARM procedure call standard document Sec. A.2 Notes.
This patch fixes it from its current larger natural default values, except
for Android (so as not to break existing ABI).
Reviewed by: Stephen Hines, Renato Golin.
Differential Revision: https://reviews.llvm.org/D33205

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304201 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/arm-abi-vector.c
test/CodeGen/arm-neon-misc.c
test/CodeGen/arm-swiftcall.c
test/CodeGen/armv7k-abi.c