[ARM64-BE] Make big endian (scalar) argument passing work correctly.
authorJames Molloy <james.molloy@arm.com>
Wed, 7 May 2014 11:28:36 +0000 (11:28 +0000)
committerJames Molloy <james.molloy@arm.com>
Wed, 7 May 2014 11:28:36 +0000 (11:28 +0000)
commit104629cc7c06292ba032b648ad278f1ced045d39
tree323b56c277dd733c8d1beb24bbaf82d095dd81cf
parent9b363106f3546e4b91c25d702561f5469949aba3
[ARM64-BE] Make big endian (scalar) argument passing work correctly.

This completes the port of r204814 (cpirker "AArch64_BE function argument
passing for ARM ABI") from AArch64 to ARM64, and fixes a bunch of issues
found during later development along the way. The biggest of these was
that the alignment fixup logic wasn't replicated into all the places it
should have been.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208192 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64ISelLowering.cpp
test/CodeGen/AArch64/adc.ll
test/CodeGen/AArch64/func-argpassing.ll
test/CodeGen/AArch64/func-calls.ll
test/CodeGen/AArch64/mul-lohi.ll
test/CodeGen/ARM64/aapcs.ll