OSDN Git Service

AMDGPU: Implement llvm.amdgcn.icmp/fcmp for i16/f16
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 15 Aug 2018 21:25:20 +0000 (21:25 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 15 Aug 2018 21:25:20 +0000 (21:25 +0000)
commit5f9b848ed3eccf3b014d36a49cb3d10bf70c82da
tree23d67b2b586e47528d43bb468ac86f2ccd6576d7
parentecc93786a13d5dccd0ccf6c3137089568a8e3b67
AMDGPU: Implement llvm.amdgcn.icmp/fcmp for i16/f16

Also support these on targets without support for these,
since it will allow us to freely create these in instcombine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339819 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/VOPCInstructions.td
test/CodeGen/AMDGPU/llvm.amdgcn.fcmp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.icmp.ll