[llvm-branch-commits] [llvm-branch] r79650 - /llvm/branches/Apple/Bender-SWB/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

Bill Wendling isanbard at gmail.com
Fri Aug 21 11:17:10 PDT 2009


Author: void
Date: Fri Aug 21 13:17:09 2009
New Revision: 79650

URL: http://llvm.org/viewvc/llvm-project?rev=79650&view=rev
Log:
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.

Modified:
    llvm/branches/Apple/Bender-SWB/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

Modified: llvm/branches/Apple/Bender-SWB/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Bender-SWB/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp?rev=79650&r1=79649&r2=79650&view=diff

==============================================================================
--- llvm/branches/Apple/Bender-SWB/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp (original)
+++ llvm/branches/Apple/Bender-SWB/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp Fri Aug 21 13:17:09 2009
@@ -2560,7 +2560,7 @@
       }
     }
 
-    if (RangeUse[0] == 0 && RangeUse[0] == 0) {
+    if (RangeUse[0] == 0 && RangeUse[1] == 0) {
       setValue(&I, DAG.getUNDEF(VT));  // Vectors are not used.
       return;
     }





More information about the llvm-branch-commits mailing list