[PATCH] D41794: [X86] Improve AVX1 shuffle lowering for v8f32 shuffles where the low half comes from V1 and the high half comes from V2 and the halves do the same operation

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 06:13:16 PDT 2018


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:13232
+    SmallVector<int, 8> RepeatedShuffleMask;
+    if (is128BitLaneRepeatedShuffleMask(VT, Mask, RepeatedShuffleMask))
+      return SDValue();
----------------
There is a is128BitLaneRepeatedShuffleMask(VT, Mask) version that you can use instead


https://reviews.llvm.org/D41794





More information about the llvm-commits mailing list