[PATCH] D84010: AMDGPU/GlobalISel: Legalize s16->s64 G_FPTOSI/G_FPTOUI

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 04:23:44 PDT 2020


Petar.Avramovic updated this revision to Diff 278719.
Petar.Avramovic edited the summary of this revision.
Petar.Avramovic added a comment.

This might be narrowScalar on TypeIndex==0 but it requires that s16 is at TypeIndex==1 thus I used custom legalize.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84010/new/

https://reviews.llvm.org/D84010

Files:
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84010.278719.patch
Type: text/x-patch
Size: 7120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200717/4b0bfa39/attachment.bin>


More information about the llvm-commits mailing list