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

Gabor Buella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 23 21:18:01 PDT 2018


GBuella added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:9429
+  while (I < Size) {
+    if (isInRange(Mask[I], TruncatedVectorStart, TruncatedVectorStart + Size))
+      return false;
----------------
RKSimon wrote:
> Why can't you permit UNDEFs in the shuffle mask?
I do permit undef here. The condition of the branch is what I don't permit.


https://reviews.llvm.org/D46957





More information about the llvm-commits mailing list