mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 00:33:15 +00:00
[x86] Fix a bug in r216319 where I was missing a 'break'.
This actually was caught by existing tests but those tests were disabled with an XFAIL because of PR20736. While working on fixing that, I noticed the test failure, and tracked it down to this. We even have a really nice Clang warning that would have caught this but it isn't enabled in LLVM! =[ I may look at enabling it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216391 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff69509f94
commit
a4c8f31dd0
@ -19467,11 +19467,13 @@ combineRedundantDWordShuffle(SDValue N, MutableArrayRef<int> Mask,
|
||||
case X86ISD::UNPCKL:
|
||||
case X86ISD::UNPCKH:
|
||||
V = DAG.getNode(W.getOpcode(), DL, W.getValueType(), V, V);
|
||||
break;
|
||||
|
||||
case X86ISD::PSHUFD:
|
||||
case X86ISD::PSHUFLW:
|
||||
case X86ISD::PSHUFHW:
|
||||
V = DAG.getNode(W.getOpcode(), DL, W.getValueType(), V, W.getOperand(1));
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (V.getValueType() != N.getValueType())
|
||||
|
Loading…
x
Reference in New Issue
Block a user