From: Bruno Cardoso Lopes Date: Tue, 7 Sep 2010 18:24:00 +0000 (+0000) Subject: Minor change. Since the checks are equivalent, use isMMX X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=67fc1e76d4561635dbd56a79285e77c1ed595a30;p=oota-llvm.git Minor change. Since the checks are equivalent, use isMMX git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113239 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 974d9eb6ea3..a3133652400 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) &&