aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/regparm-struct.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-15Update testcases due to Attribute sorting improvements.Bill Wendling1-1/+1
llvm-svn: 175253
2013-01-31Update the tests.Bill Wendling1-1/+1
This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
2012-07-31Handle functions with struct arguments or return types and the regparmRafael Espindola1-0/+177
attribute. It is a variation of the x86_64 ABI: * A struct returned indirectly uses the first register argument to pass the pointer. * Floats, Doubles and structs containing only one of them are not passed in registers. * Other structs are split into registers if they fit on the remaining ones. Otherwise they are passed in memory. * When a struct doesn't fit it still consumes the registers. llvm-svn: 161022