Mostly copied from AMDGPU lowering implementation, except used
G_SITOFP instead of directly creating a select on -1.0, 0.0.
Details
Details
- Reviewers
paquette aemerson aditya_nandakumar kerbowa
Diff Detail
Diff Detail
Paths
| Differential D71858
GlobalISel: Implement lower for G_INTRINSIC_ROUND ClosedPublic Authored by arsenm on Dec 24 2019, 12:12 PM.
Details
Summary Mostly copied from AMDGPU lowering implementation, except used
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 6 2020, 1:14 PM
Revision Contents
Diff 235230 llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-intrinsic-round.mir
|