commit | c661d61d82b2b512ad9670b248bbacb4eda5d293 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 14 07:34:56 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 14 07:34:56 2007 +0000 |
tree | 888b5d036f0f8acbe481d07d3a8befa6a5772c7b | |
parent | f76e7bba52f37a7a5663527c65dafc8fba365fc1 [diff] |
fix a warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34272 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 0192c28..909dc68 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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);