[PATCH] D15378: [X86] Determine if target shuffle contains zero elements

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 11:59:29 PST 2016


spatel added a comment.

Is there any way to expose this change in a regression test?


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:4932-4934
@@ -4942,1 +4931,5 @@
 
+  // Empty mask indicates the decode failed.
+  if (Mask.empty())
+    return false;
+
----------------
Sinking the empty mask checks is independent / NFC ? 
If yes, please check that in first.


Repository:
  rL LLVM

http://reviews.llvm.org/D15378





More information about the llvm-commits mailing list