Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.

llvm-svn: 79649
This commit is contained in:
Bill Wendling 2009-08-21 18:16:06 +00:00
parent a39f96c6ed
commit dff54eff8e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}