aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 974d9eb6ea..a313365240 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -5475,7 +5475,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
// Only a few shuffle masks are handled for 64-bit vectors (MMX), and
// 64-bit vectors which made to this point can't be handled, they are
// expanded.
- if (VT.getSizeInBits() == 64)
+ if (isMMX)
return SDValue();
if (ShuffleVectorSDNode::isSplatMask(&M[0], VT) &&