forked from OSchip/llvm-project
[X86] combineTargetShuffle - break if-else chain. NFC.
(style) Both cases always continue.
This commit is contained in:
parent
89d2b1e4f7
commit
6eaea225c7
|
@ -39885,7 +39885,9 @@ static SDValue combineTargetShuffle(SDValue N, SelectionDAG &DAG,
|
|||
if ((InsertPSMask & (1u << i)) || (i == (int)DstIdx)) {
|
||||
// No change if element is already zero or the inserted element.
|
||||
continue;
|
||||
} else if (KnownUndef0[i] || KnownZero0[i]) {
|
||||
}
|
||||
|
||||
if (KnownUndef0[i] || KnownZero0[i]) {
|
||||
// If the target mask is undef/zero then we must zero the element.
|
||||
InsertPSMask |= (1u << i);
|
||||
Updated = true;
|
||||
|
|
Loading…
Reference in New Issue