aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2009-01-28 23:11:14 +0000
committerMon P Wang <wangmp@apple.com>2009-01-28 23:11:14 +0000
commite91a0008895873f3f418640354efcfd996f621f9 (patch)
treeb551aad01d59bc006ae1a42f2e7cff61325d7f9d /lib
parent7540561097ee0935a0eb6f94bee897b3d1ecb070 (diff)
downloadexternal_llvm-e91a0008895873f3f418640354efcfd996f621f9.zip
external_llvm-e91a0008895873f3f418640354efcfd996f621f9.tar.gz
external_llvm-e91a0008895873f3f418640354efcfd996f621f9.tar.bz2
Fixed lowering of v816 shuffles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63252 91177308-0d34-0410-b5e6-96231b3b80d8
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 f48d752..6ec97e2 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -3677,7 +3677,7 @@ SDValue LowerVECTOR_SHUFFLEv8i16(SDValue V1, SDValue V2,
++V2InOrder;
} else if (EltIdx < 8) {
V1Elts.push_back(Elt);
- V2Elts.push_back(DAG.getConstant(i+8, MaskEVT));
+ V2Elts.push_back(DAG.getConstant(EltIdx+8, MaskEVT));
++V1FromV1;
} else {
V1Elts.push_back(Elt);