[PATCH] D25221: [PPC][DAGCombine] Convert SETCC to subtract when the result is zero extended

Ehsan Amiri via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 14:15:33 PDT 2016


amehsan updated this revision to Diff 75949.
amehsan added a comment.

There is one comment not yet addressed. Size of latest legal integer is currently hardcoded. As I responded to that comment I will fix it. I want to look at this a bit more to see if it makes sense to add some extensions to it.

I have added more comments, so hopefully the code will be more clear.


https://reviews.llvm.org/D25221

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  test/CodeGen/PowerPC/setcc-to-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25221.75949.patch
Type: text/x-patch
Size: 6730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161026/49942ed4/attachment.bin>


More information about the llvm-commits mailing list