[PATCH] D75078: AMDGPU/GlobalISel: Improve handling of illegal return types

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 13:53:14 PST 2020


arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa, foad.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Most importantly, this fixes ret i8. Also make sure to handle
signext/zeroext for odd types > i32. Some of the corresponding
argument passing fixes also need to be handled.


https://reviews.llvm.org/D75078

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPUCallLowering.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75078.246296.patch
Type: text/x-patch
Size: 29292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200224/3f32aa79/attachment.bin>


More information about the llvm-commits mailing list