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)
commitf64e1adcbb897446fc7a94a0d286c7bad4011704
treee8c2a10e5b8487000c57acd8059a8f06791820db
parent6cb36f7a302af387c1e338705569dc9373fc74dd
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.

llvm-svn: 147699
clang/lib/CodeGen/ABIInfo.h
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/mips64-padding-arg.c [new file with mode: 0644]