]> granicus.if.org Git - llvm/commit
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)
commit37f081b80d35231f4b1528c92d54809da65f3ae7
tree94a218adb9cf9194f08bf22258354b2231da7c3a
parentf173f479c2e5b75a94a2f6706d745732bc68ad6e
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337056 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUGISel.td
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
test/CodeGen/AMDGPU/GlobalISel/inst-select-maxnum.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/inst-select-minnum.mir [new file with mode: 0644]