[PATCH] D48117: [Sparc] Get sret arg size from CallLoweringInfo.getArgs()
Daniel Cederman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 13 01:20:38 PDT 2018
dcederman created this revision.
dcederman added reviewers: jyknight, venkatra.
Herald added subscribers: llvm-commits, jrtc27, fedor.sergeev.
Looking at the callee argument list, as is done now, might not work if the function has been typecasted into one that is expected to return a struct. This change also simplifies the code.
The isFP128ABICall() function can be removed as it is no longer needed. The test in fp128.ll has been updated to verify this.
Repository:
rL LLVM
https://reviews.llvm.org/D48117
Files:
lib/Target/Sparc/SparcISelLowering.cpp
lib/Target/Sparc/SparcISelLowering.h
test/CodeGen/SPARC/cast-sret-func.ll
test/CodeGen/SPARC/fp128.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48117.151110.patch
Type: text/x-patch
Size: 5741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180613/ee20a70c/attachment.bin>
More information about the llvm-commits
mailing list