diff options
author | James Y Knight <jyknight@google.com> | 2015-12-15 19:23:12 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2015-12-15 19:23:12 +0000 |
commit | 33beb24318f9e5355f1aa481cddcbb50eaf2a156 (patch) | |
tree | 52765053c7f094b0917a768baa33bf6b2bef4355 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | 6c3b8374522c1c7d8a34306f90eb4b1204d40506 (diff) | |
download | bcm5719-llvm-33beb24318f9e5355f1aa481cddcbb50eaf2a156.tar.gz bcm5719-llvm-33beb24318f9e5355f1aa481cddcbb50eaf2a156.zip |
[Sparc] Fix handling of double incoming arguments on sparc little-endian.
On SparcV8, doubles get passed in two 32-bit integer registers. The call
code was already handling endianness correctly, but the incoming
argument code was not -- it got the two halves in opposite order.
Also remove some dead code in LowerFormalArguments_32 to handle
less-than-32bit values, which can't actually happen.
Finally, add some test cases for the 32-bit calling convention, cribbed
from the 64abi.ll test, and run for both big and little-endian.
llvm-svn: 255668
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions