Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.428 -> 1.429
---
Log message:

Fixx off-by-one bug, which prevents llvm-gcc bootstrap on ppc32


---
Diffs of the changes:  (+1 -1)

 SelectionDAGISel.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.428 
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.429
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.428    Wed Apr 25 
13:33:21 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp  Thu Apr 26 15:44:04 2007
@@ -1722,7 +1722,7 @@
        << "Low bound: " << cast<ConstantInt>(minValue)->getSExtValue() << "\n"
        << "High bound: " << cast<ConstantInt>(maxValue)->getSExtValue() << 
"\n";
   
-  if (range>IntPtrBits ||
+  if (range>=IntPtrBits ||
       (!(Dests.size() == 1 && numCmps >= 3) &&
        !(Dests.size() == 2 && numCmps >= 5) &&
        !(Dests.size() >= 3 && numCmps >= 6)))



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to