diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-05-28 04:57:37 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-05-28 04:57:37 +0000 |
commit | 02dc6a1451a44fb11722fbc633237f8f18063792 (patch) | |
tree | a0128b10fd9856b75abc42f21aa24eee9785bf81 /clang/lib/Format/Format.cpp | |
parent | f92c4a814a65838be223ad7f71719dfebbbcdba1 (diff) | |
download | bcm5719-llvm-02dc6a1451a44fb11722fbc633237f8f18063792.tar.gz bcm5719-llvm-02dc6a1451a44fb11722fbc633237f8f18063792.zip |
Build correct coercion types in SparcV9ABIInfo.
The coercion type serves two purposes:
1. Pad structs to a multiple of 64 bits, so they are passed
'left-aligned' in registers.
2. Expose aligned floating point elements as first-level elements, so
the code generator knows to pass them in floating point registers.
We also compute the InReg flag which indicates that the struct contains
aligned 32-bit floats. This flag is used by the code generator to pick
the right registers.
llvm-svn: 182753
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions