1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

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 a706ea5720
commit 50e8e856f2

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