forked from OSchip/llvm-project
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.
llvm-svn: 79649
This commit is contained in:
parent
a39f96c6ed
commit
dff54eff8e
|
@ -2522,7 +2522,7 @@ void SelectionDAGLowering::visitShuffleVector(User &I) {
|
|||
}
|
||||
}
|
||||
|
||||
if (RangeUse[0] == 0 && RangeUse[0] == 0) {
|
||||
if (RangeUse[0] == 0 && RangeUse[1] == 0) {
|
||||
setValue(&I, DAG.getUNDEF(VT)); // Vectors are not used.
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue