Legalize using narrowScalar as s16->s32 G_FPEXT
followed by s32->s64 G_FPEXT.
Details
Details
- Reviewers
- foad - arsenm 
- Commits
- rG6a1030aa0e4e: AMDGPU/GlobalISel: Legalize s16->s64 G_FPEXT
Diff Detail
Diff Detail
| Paths 
 |  Differential  D84030  
AMDGPU/GlobalISel: Legalize s16->s64 G_FPEXT ClosedPublic Authored by Petar.Avramovic on Jul 17 2020, 8:09 AM. 
Details 
 Summary Legalize using narrowScalar as s16->s32 G_FPEXT 
Diff Detail Event TimelinePetar.Avramovic retitled this revision from AMDGPU/GlobalISel: Select s16->s64 G_FPEXT to AMDGPU/GlobalISel: Legalize s16->s64 G_FPEXT.Comment Actions Split G_FPEXT in legalizer. This could also be widenScalar for TypeIndex == 1. This revision is now accepted and ready to land.Jul 20 2020, 6:14 AM Closed by commit rG6a1030aa0e4e: AMDGPU/GlobalISel: Legalize s16->s64 G_FPEXT (authored by Petar.Avramovic).  ·  Explain WhyJul 20 2020, 7:13 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 279172 llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fpext.mir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||