diff options
author | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2013-10-06 06:11:18 +0000 |
---|---|---|
committer | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2013-10-06 06:11:18 +0000 |
commit | a6269ee5fbb6e1237648a47d31f96ba3b4a1bb54 (patch) | |
tree | 64e73f4e2bd4ff751b43e484b003b96fd2b5e628 /lib/Target/X86/X86ISelLowering.cpp | |
parent | 20b10abf4e88ca532810fbf749b029ce582d6793 (diff) | |
download | external_llvm-a6269ee5fbb6e1237648a47d31f96ba3b4a1bb54.zip external_llvm-a6269ee5fbb6e1237648a47d31f96ba3b4a1bb54.tar.gz external_llvm-a6269ee5fbb6e1237648a47d31f96ba3b4a1bb54.tar.bz2 |
AVX-512: fixed shuffle lowering
in case of BLEND and added VSHUFPS patterns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 5178cad..7222754 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -6139,6 +6139,10 @@ LowerVECTOR_SHUFFLEtoBlend(ShuffleVectorSDNode *SVOp, MVT EltVT = VT.getVectorElementType(); unsigned NumElems = VT.getVectorNumElements(); + // There is no blend with immediate in AVX-512. + if (VT.is512BitVector()) + return SDValue(); + if (!Subtarget->hasSSE41() || EltVT == MVT::i8) return SDValue(); if (!Subtarget->hasInt256() && VT == MVT::v16i16) |