[PATCH] D105807: [X86] pr51000 struct return tailcalling
Nathan Sidwell via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 15 09:45:36 PDT 2021
urnathan updated this revision to Diff 359019.
urnathan added a comment.
Here is an updated patch with a simpler goal. It only prevents sibcalling when the caller is an sret pointer function. To enable that to sibcall we need to trace the data flow to the callee's sret parameter, and that doesn't appear easy -- at least as a first foray into llvm's backend. So let's just have this smaller improvement, which does solve the problem the original bug report had.
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.359019.patch
Type: text/x-patch
Size: 7316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210715/01ecc156/attachment.bin>
More information about the llvm-commits
mailing list