[AMDGPU] Fix large return values with amdgpu_gfx
Returning in memory is not supported, so fall back to sret.
Also, extend i1 and i16 to i32. Otherwise, they would be passed through
Differential Revision: https://reviews.llvm.org/D100543
sebastian-ne on Apr 1 2021, 1:20 AM.Authored by