projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f76e7bb
)
fix a warning
author
Chris Lattner
<sabre@nondot.org>
Wed, 14 Feb 2007 07:34:56 +0000
(07:34 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 14 Feb 2007 07:34:56 +0000
(07:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34272
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 0192c287cd163e91f4128d643b2564f3e9f7a3a7..909dc68f08303bfccc9d2c19af047e55e08a9601 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-1253,7
+1253,7
@@
void SelectionDAGLowering::visitSwitch(SwitchInst &I) {
// a case statement, push the case's BB onto the vector, otherwise, push
// the default BB.
std::vector<MachineBasicBlock*> DestBBs;
-
u
int64_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);