diff options
author | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-08 14:47:25 +0000 |
---|---|---|
committer | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-08 14:47:25 +0000 |
commit | e4079792195290bec7a0243d1d4c7b4a5a9d0dc9 (patch) | |
tree | a6fd0ee99aff757b906673372f1b0cff0f65b885 /unittests/AST/ASTImporterTest.cpp | |
parent | 83056896e68651acc031d37cf815a7a79abd451c (diff) | |
download | clang-e4079792195290bec7a0243d1d4c7b4a5a9d0dc9.tar.gz |
[Sparc] Complex return value ABI compliance.
According to the Sparc V8 ABI, complex numbers should be passed and returned as pairs of registers:
https://docs.oracle.com/cd/E26502_01/html/E28387/gentextid-2734.html
This fix ensures this is the case. Without this, complex numbers are returned as a struct of two floats, which breaks the ABI rules.
Differential Review: http://reviews.llvm.org/D20955
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/AST/ASTImporterTest.cpp')
0 files changed, 0 insertions, 0 deletions