ARM byval: when type alignment is bigger than ABI alignment, instead of
authorManman Ren <mren@apple.com>
Tue, 6 Nov 2012 04:58:01 +0000 (04:58 +0000)
committerManman Ren <mren@apple.com>
Tue, 6 Nov 2012 04:58:01 +0000 (04:58 +0000)
commit8cd99817f9a60cc13847b7e9cdc6d9fdca5f27df
tree0476af4db6dded5f6c5ab80597d577e319652ef4
parent2ed51255028be06c9d831d8cd5ef489bd008a763
ARM byval: when type alignment is bigger than ABI alignment, instead of
disabling byval, we set realign to true.

It will perform an aligned alloca, and call memcpy to copy the byval
argument to the local variable.
Change the size threshold back to 64 bytes.

rdar://12596507

llvm-svn: 167440
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/arm-arguments.c