[PowerPC] Eliminate compares - add i32 sext/zext handling for SETLT/SETGT
commit73de9558751c1c477edc198a8c49f6c16d3d7389
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 23 Sep 2017 04:41:34 +0000 (23 04:41 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 23 Sep 2017 04:41:34 +0000 (23 04:41 +0000)
tree96c43393e415ef318c6a769e468f27bda7d7a93b
parent1fe9675efd21770e045b4885a5c708b0f3595aa4
[PowerPC] Eliminate compares - add i32 sext/zext handling for SETLT/SETGT

As mentioned in https://reviews.llvm.org/D33718, this simply adds another
pattern to the compare elimination sequence and is committed without a
differential revision.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314055 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
test/CodeGen/PowerPC/no-pref-jumps.ll
test/CodeGen/PowerPC/testComparesigtsc.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesigtsi.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesigtss.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesiltsc.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesiltsi.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesiltss.ll [new file with mode: 0644]