]> granicus.if.org Git - llvm/commit
[PowerPC] Eliminate compares - add i32 sext/zext handling for SETULT/SETUGT
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 23 Sep 2017 12:53:03 +0000 (12:53 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 23 Sep 2017 12:53:03 +0000 (12:53 +0000)
commit2e0c5c57b49457ddccb757848f06a6eca8f14f8a
treee0e6e7ad9b068b3f72a4f31ac454ca38b8f8c81c
parent47a09dc91f35ff9333032dd6d56429b247ed9972
[PowerPC] Eliminate compares - add i32 sext/zext handling for SETULT/SETUGT

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@314062 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/testComparesi32gtu.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesi32ltu.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesigtuc.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesigtui.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesigtus.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesiltuc.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesiltui.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesiltus.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesllgtuc.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesllgtui.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesllgtus.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesllltuc.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesllltui.ll [new file with mode: 0644]
test/CodeGen/PowerPC/testComparesllltus.ll [new file with mode: 0644]