[PATCH] D31483: [DAGCombiner] convert and-of-seteq to bitwise logic+seteq (PR32401)

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 01:21:07 PDT 2017


nemanjai accepted this revision.
nemanjai added a comment.

I think the PPC changes look good.



================
Comment at: test/CodeGen/PowerPC/setcc-logic.ll:454-456
+; CHECK-NEXT:    cntlzw 3, 3
+; CHECK-NEXT:    nor 3, 3, 3
+; CHECK-NEXT:    rlwinm 3, 3, 27, 31, 31
----------------
spatel wrote:
> I think this sequence is better than crand+isel, but another possibility: 
> https://bugs.llvm.org/show_bug.cgi?id=32520
This is in the pipeline:
https://reviews.llvm.org/D31240


https://reviews.llvm.org/D31483





More information about the llvm-commits mailing list