[PATCH] D32230: [DAG] add splat vector support for 'and' in SimplifyDemandedBits

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 09:33:37 PDT 2017


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/CodeGen/X86/vector-rotate-256.ll:1051
 ; XOPAVX2-NEXT:    vinserti128 $1, %xmm0, %ymm1, %ymm0
 ; XOPAVX2-NEXT:    vpand {{.*}}(%rip), %ymm0, %ymm0
 ; XOPAVX2-NEXT:    retq
----------------
Looks like we're missing a SimplifyDemandedBits for ISD::ROTL/ISD::ROTR - but that's a problem for another day.


https://reviews.llvm.org/D32230





More information about the llvm-commits mailing list