[PATCH] D37388: [X86] Allow cross-lane permutations for sub targets supporting AVX2.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 04:32:24 PDT 2017


RKSimon added a comment.

I've added the test case for PR34369 at https://reviews.llvm.org/rL312481 - please can you rebase?



================
Comment at: lib/Target/X86/X86ISelLowering.cpp:12079
   // less expensive. The flags track whether the given lane contains an element
   // that crosses to another lane.
+  if (!Subtarget.hasAVX2()) {
----------------
Update this comment to explain the AVX2 path


https://reviews.llvm.org/D37388





More information about the llvm-commits mailing list