commit | e91a0008895873f3f418640354efcfd996f621f9 | [log] [tgz] |
---|---|---|
author | Mon P Wang <wangmp@apple.com> | Wed Jan 28 23:11:14 2009 +0000 |
committer | Mon P Wang <wangmp@apple.com> | Wed Jan 28 23:11:14 2009 +0000 |
tree | b551aad01d59bc006ae1a42f2e7cff61325d7f9d | |
parent | 7540561097ee0935a0eb6f94bee897b3d1ecb070 [diff] [blame] |
Fixed lowering of v816 shuffles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63252 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ ++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);