[all-commits] [llvm/llvm-project] 3d6c49: [RISCV] Fix ILP32D lowering for double+double/doub...
James Clarke via All-commits
all-commits at lists.llvm.org
Tue Jan 14 03:17:34 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3d6c492d7a9830a1a39b85dfa215743581d52715
https://github.com/llvm/llvm-project/commit/3d6c492d7a9830a1a39b85dfa215743581d52715
Author: James Clarke <jrtc27 at jrtc27.com>
Date: 2020-01-14 (Tue, 14 Jan 2020)
Changed paths:
M clang/lib/CodeGen/TargetInfo.cpp
M clang/test/CodeGen/riscv32-ilp32d-abi.c
Log Message:
-----------
[RISCV] Fix ILP32D lowering for double+double/double+int return types
Summary:
Previously, since these aggregates are > 2*XLen, Clang would think they
were being returned indirectly and thus would decrease the number of
available GPRs available by 1. For long argument lists this could lead
to a struct argument incorrectly being passed indirectly.
Reviewers: asb, lenary
Reviewed By: asb, lenary
Subscribers: luismarques, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, lenary, s.egerton, pzheng, sameer.abuasal, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69590
More information about the All-commits
mailing list