[PATCH] D34048: [PowerPC] Eliminate compares - add i32 sext/zext handling for SETLE/SETGE
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 00:15:06 PDT 2017
nemanjai created this revision.
This patch adds a bit more of the infrastructure for doing comparisons in GPR's. It provides GE/LE patterns for i32's as well as the computation for GE/LE comparisons against zero for both i32 and i64.
Posting this for review since it's not just a patch that adds patterns - there's a bit of additional infrastructure.
Repository:
rL LLVM
https://reviews.llvm.org/D34048
Files:
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/testComparesigesc.ll
test/CodeGen/PowerPC/testComparesigesi.ll
test/CodeGen/PowerPC/testComparesigess.ll
test/CodeGen/PowerPC/testComparesilesc.ll
test/CodeGen/PowerPC/testComparesilesi.ll
test/CodeGen/PowerPC/testComparesiless.ll
test/CodeGen/PowerPC/testComparesllgesc.ll
test/CodeGen/PowerPC/testComparesllgesi.ll
test/CodeGen/PowerPC/testComparesllgess.ll
test/CodeGen/PowerPC/testCompareslllesc.ll
test/CodeGen/PowerPC/testCompareslllesi.ll
test/CodeGen/PowerPC/testComparesllless.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34048.101996.patch
Type: text/x-patch
Size: 38795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170609/6cd8bff4/attachment.bin>
More information about the llvm-commits
mailing list