diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-07-13 22:16:03 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-07-13 22:16:03 +0000 |
commit | ac68471326c9abd93b97e6158f00e46607c3b260 (patch) | |
tree | 80b4184301acb334efe187a22a01c486030a0d14 /llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp | |
parent | da424ba1c5ead401270aa64891cbf9a2791b08c4 (diff) | |
download | bcm5719-llvm-ac68471326c9abd93b97e6158f00e46607c3b260.tar.gz bcm5719-llvm-ac68471326c9abd93b97e6158f00e46607c3b260.zip |
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
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp index 7db6edc5575..219d430fbb3 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp @@ -186,6 +186,8 @@ bool AMDGPUInstructionSelector::selectG_INTRINSIC(MachineInstr &I, switch (IntrinsicID) { default: break; + case Intrinsic::maxnum: + case Intrinsic::minnum: case Intrinsic::amdgcn_cvt_pkrtz: return selectImpl(I, CoverageInfo); |