summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/arm-byval-align.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Correct alignment of structs passed as byval pointerOliver Stannard2014-03-121-0/+14
When a struct has bitfields overlapping with other members (as required by the AAPCS), clang uses a packed struct to represent this. If such a struct is large enough for clang to pass it as a byval pointer (>64 bytes), we need to set the alignment of the argument to match the original type. llvm-svn: 203660
OpenPOWER on IntegriCloud