AMDGPU/GlobalISel: Lower G_FREM
authorPetar Avramovic <Petar.Avramovic@amd.com>
Mon, 10 Aug 2020 08:10:46 +0000 (10:10 +0200)
committerPetar Avramovic <Petar.Avramovic@amd.com>
Mon, 10 Aug 2020 08:10:46 +0000 (10:10 +0200)
commit0d58d9e8fb937b422baaf96dc7c60e7c3a128302
tree8983f4405886ced59e6829b4448febb1962e72ad
parent5965fbf81b25217c40b09b48bd808a8f4a5d4e89
AMDGPU/GlobalISel: Lower G_FREM

Add custom lower for G_FREM.

Differential Revision: https://reviews.llvm.org/D84324
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
llvm/test/CodeGen/AMDGPU/GlobalISel/frem.ll [new file with mode: 0644]