diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-07-09 02:10:33 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-07-09 02:10:33 +0000 |
commit | 947bfe73fc2f50300fafdf9ef7a025e7d17da30e (patch) | |
tree | e73b1bb6a4ad1bed405b053e1dc0dad7791da295 /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 0e344e9dc5f640cb0a2e72538962c1499ceb9663 (diff) | |
download | bcm5719-llvm-947bfe73fc2f50300fafdf9ef7a025e7d17da30e.tar.gz bcm5719-llvm-947bfe73fc2f50300fafdf9ef7a025e7d17da30e.zip |
[WebAssembly] Make sret parameter work with AddMissingPrototypes
Summary:
Even with functions with `no-prototype` attribute, there can be an
argument `sret` (structure return) attribute, which is an optimization
when a function return type is a struct. Fixes PR42420.
Reviewers: sbc100
Subscribers: dschuff, jgravelle-google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64318
llvm-svn: 365426
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions