[PATCH] D105807: [X86] pr51000 in-register struct return tailcalling

Nathan Sidwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 08:13:25 PDT 2021


urnathan updated this revision to Diff 367214.
urnathan retitled this revision from "[X86] pr51000 struct return tailcalling" to "[X86] pr51000 in-register struct return tailcalling".
urnathan added a comment.

Ok, having had a nice long break here's an updated patch.  It addresses the case of tail calling a function that returns a struct in registers.  These are just like tail calling functions that return scalars.

Is it acceptable to have the FIXME comment pointing at pr51000 about the more complicated case when return is via an sret pointer parameter?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105807/new/

https://reviews.llvm.org/D105807

Files:
  clang/test/CodeGenCXX/pr51000.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/X86/sibcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105807.367214.patch
Type: text/x-patch
Size: 7787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/90c56953/attachment.bin>


More information about the llvm-commits mailing list