AMDGPU/GlobalISel: Selection for fminnum/fmaxnum
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 19 Jul 2019 14:42:40 +0000 (14:42 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 19 Jul 2019 14:42:40 +0000 (14:42 +0000)
commit08494f6231b02e2ddda8d92e408cb043a35070f8
tree636b9fdb0edd5b395b04a3925610f00ba039d778
parentb60a2ae40e73bce69f8dbf120f14e3491b70c17f
AMDGPU/GlobalISel: Selection for fminnum/fmaxnum

v2f16 case doesn't work yet because the VOP3P complex patterns haven't
been ported yet.

llvm-svn: 366585
llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-maxnum.mir [deleted file]
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-minnum.mir [deleted file]
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-maxnum.mir [deleted file]
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-minnum.mir [deleted file]