[PATCH] D48117: [Sparc] Get sret arg size from CallLoweringInfo.getArgs()
Daniel Cederman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 13 06:13:35 PDT 2018
dcederman updated this revision to Diff 160339.
dcederman added a comment.
Changed dyn_cast to cast. SRet is only allowed on the first argument, checked by LowerFormalArguments_32 at line 406, so I replaced [i] with [0].
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.160339.patch
Type: text/x-patch
Size: 5835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180813/9021acbc/attachment.bin>
More information about the llvm-commits
mailing list