[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 03:07:46 PDT 2020


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

Legalize using widenScalar for TypeIdx == 1 (G_FPEXT s16 to s32).


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.278697.patch
Type: text/x-patch
Size: 41816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200717/754bc644/attachment.bin>


More information about the llvm-commits mailing list