[PATCH] D67179: [MIPS GlobalISel] Lower SRet pointer arguments
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 08:17:36 PDT 2019
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, jrtc27, arichardson, rovka, sdardis.
Herald added a project: LLVM.
Instead of returning structure by value clang usually adds pointer to
that structure as an argument. Pointers don't require special handling
no matter the SRet flag. Remove unsuccessful exit from lowerCall
for arguments with SRet flag if they are pointers.
Repository:
rL LLVM
https://reviews.llvm.org/D67179
Files:
lib/Target/Mips/MipsCallLowering.cpp
test/CodeGen/Mips/GlobalISel/irtranslator/sret_pointer.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/sret_pointer.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67179.218712.patch
Type: text/x-patch
Size: 3968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/705c4588/attachment.bin>
More information about the llvm-commits
mailing list