summaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-09-07 18:29:03 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-09-07 18:29:03 +0000
commit673bf78bb5104e28d7295bbca87ebdc2c237353e (patch)
treeeb585b119415ab22e066e931c87ebc3cab321aa6 /lib/Target/X86
parentb52d44a0e6eb6fcf12cc3dcfffcf179f544b06a2 (diff)
downloadexternal_llvm-673bf78bb5104e28d7295bbca87ebdc2c237353e.zip
external_llvm-673bf78bb5104e28d7295bbca87ebdc2c237353e.tar.gz
external_llvm-673bf78bb5104e28d7295bbca87ebdc2c237353e.tar.bz2
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
Diffstat (limited to 'lib/Target/X86')
-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 a313365..e496365 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);
}