]> granicus.if.org Git - clang/commit
Properly provide alignment of 'byval' arguments down to llvm.
authorJames Y Knight <jyknight@google.com>
Fri, 21 Aug 2015 18:19:06 +0000 (18:19 +0000)
committerJames Y Knight <jyknight@google.com>
Fri, 21 Aug 2015 18:19:06 +0000 (18:19 +0000)
commitc5c164154328f56796916ea6828ab15811ebac97
treec3e1cda37eff68507df91cdc790aadd002d6b7f0
parenteff730a27cc1878625125d52bfa55deef7c519ff
Properly provide alignment of 'byval' arguments down to llvm.

This is important in the case that the LLVM-inferred llvm-struct
alignment is not the same as the clang-known C-struct alignment.

Differential Revision: http://reviews.llvm.org/D12243

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245719 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
test/CodeGen/le32-arguments.c
test/CodeGen/nvptx-abi.c
test/CodeGen/sparc-arguments.c [new file with mode: 0644]