[PowerPC] Eliminate compares - add i64 sext/zext handling for SETLE/SETGE
commit4eb888f6d2ab4b8f226b8839d40b3742ee286530
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sun, 24 Sep 2017 05:48:11 +0000 (24 05:48 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sun, 24 Sep 2017 05:48:11 +0000 (24 05:48 +0000)
treec6709ac09869a2e449f9e99802fc379d31e31780
parent213f7476549cce91b39e313cdac44c9200ea1639
[PowerPC] Eliminate compares - add i64 sext/zext handling for SETLE/SETGE

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314073 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/testComparesigesll.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesilesll.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesllgesll.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testCompareslllesll.ll [new file with mode: 0644]