]> granicus.if.org Git - clang/commit
Add field PaddingType to ABIArgInfo which specifies the type of padding that
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 7 Jan 2012 00:25:33 +0000 (00:25 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 7 Jan 2012 00:25:33 +0000 (00:25 +0000)
commitf0cc2087b18c48b17c2f647c88a3e7eef19285fd
tree95087f970deaf1810fc76f3579376a90ec658043
parent242384ddb0e0b65dd7e9e0ac0cf3c31cf98b06a6
Add field PaddingType to ABIArgInfo which specifies the type of padding that
is inserted before the real argument. Padding is needed to ensure the backend
reads from or writes to the correct argument slots when the original alignment
of a byval structure is unavailable due to flattening.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147699 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ABIInfo.h
lib/CodeGen/CGCall.cpp
lib/CodeGen/TargetInfo.cpp
test/CodeGen/mips64-padding-arg.c [new file with mode: 0644]