AMDGPU/GlobalISel: Implement select for G_ICMP and G_SELECT
authorTom Stellard <tstellar@redhat.com>
Mon, 17 Jun 2019 16:27:43 +0000 (16:27 +0000)
committerTom Stellard <tstellar@redhat.com>
Mon, 17 Jun 2019 16:27:43 +0000 (16:27 +0000)
commit8b1c53b52818aac8cbf5e9acb168e6315e5cbc6b
tree7e9e6bef4e13f7dc268b34804bd21e5c51ad24a4
parenta8dcd47688764faf90c44dfefd0cc321b3e8d9df
AMDGPU/GlobalISel: Implement select for G_ICMP and G_SELECT

Reviewers: arsenm

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, rovka, kristof.beyls, dstuttard, tpr, t-tye, hiraditya, Petar.Avramovic, llvm-commits

Tags: #llvm

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

llvm-svn: 363576
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-icmp.mir [new file with mode: 0644]