[PATCH] D26902: [AVX-512] Add support for changing the element size of PALIGNR/VALIGND/VALIGNQ shuffles if they feed a vselect with a different type

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 20 23:36:21 PST 2016


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:27803
+  case X86ISD::VALIGN: {
+    if (EltVT != MVT::i32 && EltVT != MVT::i64)
+      return false;
----------------
delena wrote:
> What happens with FP types? Can we do the same?
That would result in making the VALIGN node have floating point type which we don't have patterns for today.


https://reviews.llvm.org/D26902





More information about the llvm-commits mailing list