summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2014-01-12 04:13:17 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2014-01-12 04:13:17 +0000
commite7084a1c5ccbdf15dfea5dc2b3fe693f265ccfbf (patch)
treecd917da7a98fc6e589249c603033da61d3c69c8d /clang/lib/Driver/Tools.cpp
parent4bde03023b113536afbb6733b3dcfe6c8540e431 (diff)
downloadbcm5719-llvm-e7084a1c5ccbdf15dfea5dc2b3fe693f265ccfbf.tar.gz
bcm5719-llvm-e7084a1c5ccbdf15dfea5dc2b3fe693f265ccfbf.zip
The SPARCv9 ABI returns a float in %f0.
This is different from the argument passing convention which puts the first float argument in %f1. With this patch, all returned floats are treated as if the 'inreg' flag were set. This means multiple float return values get packed in %f0, %f1, %f2, ... Note that when returning a struct in registers, clang will set the 'inreg' flag on the return value, so that behavior is unchanged. This also happens when returning a float _Complex. llvm-svn: 199028
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud