Port directly from DAG version.
The lowering for G_FPTOUI used to fail on AMDGPU because it uses
G_FPTOSI.
Paths
| Differential D72264
GlobalISel: Implement s32->s64 G_FPTOSI lowering ClosedPublic Authored by arsenm on Jan 6 2020, 6:16 AM.
Details Summary Port directly from DAG version. The lowering for G_FPTOUI used to fail on AMDGPU because it uses
Diff Detail Event Timeline
This revision is now accepted and ready to land.Jan 6 2020, 1:54 PM
Revision Contents
Diff 236346 llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir
|
Do we need the whole GitHub URL here? Why not just compiler-rt/lib/builtins/fixsfdi.c?
Also it looks like most the work is in fp_fixint_impl.inc? Would it be better to point at that instead?