[PATCH] D46957: [x86] Lower some trunc + shuffle patterns to vpmov[q|d][b|w]

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 23 10:43:07 PDT 2018


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:9429
+  while (I < Size) {
+    if (isInRange(Mask[I], TruncatedVectorStart, TruncatedVectorStart + Size))
+      return false;
----------------
Why can't you permit UNDEFs in the shuffle mask?


https://reviews.llvm.org/D46957





More information about the llvm-commits mailing list