Returning in memory is not supported, so fall back to sret.
Also, extend i1 and i16 to i32. Otherwise, they would be passed through
memory.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D100543
[AMDGPU] Fix large return values with amdgpu_gfx ClosedPublic Authored by sebastian-ne on Apr 15 2021, 3:56 AM.
Details Summary Returning in memory is not supported, so fall back to sret.
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others. · View Herald TranscriptApr 15 2021, 3:56 AM This revision is now accepted and ready to land.Apr 15 2021, 5:53 AM Closed by commit rG7842e1725e80: [AMDGPU] Fix large return values with amdgpu_gfx (authored by sebastian-ne). · Explain WhyApr 15 2021, 6:05 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 337694 llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td
llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll
|