R600/SI: Make more unordered comparisons legal
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 11 Dec 2014 22:15:39 +0000 (22:15 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 11 Dec 2014 22:15:39 +0000 (22:15 +0000)
commite5bd58468373cf04455015f4fbe34c962259e233
tree407f03f85fe60780caa27ad2e7d5d27db102256b
parent8651adfe4f98502eb5187acd0a19be03450d1437
R600/SI: Make more unordered comparisons legal

This saves a second compare and an and / or by using
the unordered comparison instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224066 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUInstructions.td
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/fcmp64.ll
test/CodeGen/R600/setcc.ll
test/CodeGen/R600/setcc64.ll