[PATCH] D33311: [X86] Match bitcast of vxi1 to pmovmsk

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 02:49:41 PDT 2017


RKSimon accepted this revision.
RKSimon added a comment.

LGTM with one minor - thanks.



================
Comment at: lib/Target/X86/X86ISelLowering.cpp:29017
+  case MVT::v32i1:
+    if (!Subtarget.hasInt256())
+      return SDValue();
----------------
Possibly add a TODO about handling pre-AVX2 cases (split with 2 16i8 MOVMSK) - add a SSE/AVX1 test with current codegen as well if you can.


https://reviews.llvm.org/D33311





More information about the llvm-commits mailing list