OSDN Git Service

[Mips][AMDGPU] Update test cases to not use vector lt/gt compares that can be simplif...
authorCraig Topper <craig.topper@intel.com>
Wed, 7 Feb 2018 00:51:37 +0000 (00:51 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 7 Feb 2018 00:51:37 +0000 (00:51 +0000)
commitd917ccf0ddb28f5dacbc85835dbbb7b338234574
tree2bb17a1cba09b8ce26ce3a0f004e609efd6e7580
parent9051a39c8ae2f6475239e1fe283a8d6feb36fa7c
[Mips][AMDGPU] Update test cases to not use vector lt/gt compares that can be simplified to an equality/inequality or to always true/false.

For example 'ugt X, 0' can be simplified to 'ne X, 0'. Or 'uge X, 0' is always true.

We already simplify this for scalars in SimplifySetCC, but we don't currently for vectors in SimplifySetCC. D42948 proposes to change that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324436 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/AArch64/arm64-neon-compare-instructions.ll
test/CodeGen/AArch64/neon-compare-instructions.ll
test/CodeGen/Mips/msa/compare.ll