diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-08-21 18:16:06 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-08-21 18:16:06 +0000 |
| commit | dff54eff8e4bc3cc2b56f03f2fe136823264521c (patch) | |
| tree | bdb3f7c47ae85cefec65ed70b230be8f7a807591 /llvm/lib | |
| parent | a39f96c6ed1b1e4fa60ec0cc81306da2d1674307 (diff) | |
| download | bcm5719-llvm-dff54eff8e4bc3cc2b56f03f2fe136823264521c.tar.gz bcm5719-llvm-dff54eff8e4bc3cc2b56f03f2fe136823264521c.zip | |
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.
llvm-svn: 79649
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 1ba63c01808..b11ab0ec3ba 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -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; } |

