Skip to content

Commit

Permalink
Fix typo. Should check both values of RangeUse for 0. Patch by Marius…
Browse files Browse the repository at this point in the history
… Wachtler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79649 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Aug 21, 2009
1 parent 3c2734c commit 636e258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 636e258

Please sign in to comment.