From: Bruno Cardoso Lopes Date: Tue, 7 Sep 2010 18:29:03 +0000 (+0000) Subject: Remove now useless check, because the code can be matched below, no need to leave... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=673bf78bb5104e28d7295bbca87ebdc2c237353e;p=oota-llvm.git Remove now useless check, because the code can be matched below, no need to leave it for isel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113242 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index a3133652400..e496365de2e 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -5273,7 +5273,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const { // Promote splats to v4f32. if (SVOp->isSplat()) { - if (isMMX || NumElems < 4) + if (isMMX) return Op; return PromoteSplat(SVOp, DAG); }