[llvm-commits] [llvm] r79649 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
Bill Wendling
isanbard at gmail.com
Fri Aug 21 11:16:06 PDT 2009
Author: void
Date: Fri Aug 21 13:16:06 2009
New Revision: 79649
URL: http://llvm.org/viewvc/llvm-project?rev=79649&view=rev
Log:
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp?rev=79649&r1=79648&r2=79649&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp Fri Aug 21 13:16:06 2009
@@ -2522,7 +2522,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-commits
mailing list