[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Chris Lattner sabre at nondot.org
Tue Feb 13 23:35:13 PST 2007



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.366 -> 1.367
---
Log message:

fix a warning


---
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.366 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.367
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.366	Wed Feb 14 01:18:16 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Wed Feb 14 01:34:56 2007
@@ -1253,7 +1253,7 @@
       // a case statement, push the case's BB onto the vector, otherwise, push
       // the default BB.
       std::vector<MachineBasicBlock*> DestBBs;
-      uint64_t TEI = First;
+      int64_t TEI = First;
       for (CaseItr ii = Cases.begin(), ee = Cases.end(); ii != ee; ++TEI)
         if (cast<ConstantInt>(ii->first)->getSExtValue() == TEI) {
           DestBBs.push_back(ii->second);






More information about the llvm-commits mailing list