diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 09f0be0e246..c74a84665fb 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -21012,7 +21012,7 @@ static SDValue PerformTargetShuffleCombine(SDValue N, SelectionDAG &DAG,      // See if this reduces to a PSHUFD which is no more expensive and can      // combine with more operations. Note that it has to at least flip the      // dwords as otherwise it would have been removed as a no-op. -    if (Mask[0] == 2 && Mask[1] == 3 && Mask[2] == 0 && Mask[3]) { +    if (Mask[0] == 2 && Mask[1] == 3 && Mask[2] == 0 && Mask[3] == 1) {        int DMask[] = {0, 1, 2, 3};        int DOffset = N.getOpcode() == X86ISD::PSHUFLW ? 0 : 2;        DMask[DOffset + 0] = DOffset + 1; | 

