summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-05-28 04:57:37 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-05-28 04:57:37 +0000
commitfc782fbeb25ad880ec667f34997bd45d530aef86 (patch)
treef2058d57333757cf4d2a82b3bd2bc200adfa4319 /lib/CodeGen/CGExpr.cpp
parente8328540cffa6b5b5f7d07e2e7d2f3503500a383 (diff)
downloadclang-fc782fbeb25ad880ec667f34997bd45d530aef86.tar.gz
clang-fc782fbeb25ad880ec667f34997bd45d530aef86.tar.bz2
clang-fc782fbeb25ad880ec667f34997bd45d530aef86.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions