AMDGPU/GlobalISel: Implement select() for 32-bit @llvm.minnun and @llvm.maxnum
authorTom Stellard <tstellar@redhat.com>
Fri, 13 Jul 2018 22:16:03 +0000 (22:16 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 13 Jul 2018 22:16:03 +0000 (22:16 +0000)
commitac68471326c9abd93b97e6158f00e46607c3b260
tree80b4184301acb334efe187a22a01c486030a0d14
parentda424ba1c5ead401270aa64891cbf9a2791b08c4
AMDGPU/GlobalISel: Implement select() for 32-bit @llvm.minnun and @llvm.maxnum

Reviewers: arsenm, nhaehnle

Subscribers: kzhuravl, wdng, yaxunl, rovka, kristof.beyls, dstuttard, tpr, llvm-commits, t-tye

Differential Revision: https://reviews.llvm.org/D46172

llvm-svn: 337056
llvm/lib/Target/AMDGPU/AMDGPUGISel.td
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-maxnum.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-minnum.mir [new file with mode: 0644]