OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08f902
)
Fix variable shadowing issue
author
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jun 2006 00:10:13 +0000
(
00:10
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jun 2006 00:10:13 +0000
(
00:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28922
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index
a008120
..
5bf1649
100644
(file)
--- a/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@
-741,7
+741,7
@@
SDOperand PPCDAGToDAGISel::SelectCC(SDOperand LHS, SDOperand RHS,
unsigned Opc;
if (LHS.getValueType() == MVT::i32) {
- unsigned Imm
, Opc
;
+ unsigned Imm;
if (ISD::isUnsignedIntSetCC(CC)) {
if (isInt32Immediate(RHS, Imm) && isUInt16(Imm))
return SDOperand(CurDAG->getTargetNode(PPC::CMPLWI, MVT::i32, LHS,
@@
-757,7
+757,6
@@
SDOperand PPCDAGToDAGISel::SelectCC(SDOperand LHS, SDOperand RHS,
}
} else if (LHS.getValueType() == MVT::i64) {
uint64_t Imm;
- unsigned Opc;
if (ISD::isUnsignedIntSetCC(CC)) {
if (isInt64Immediate(RHS.Val, Imm) && isUInt16(Imm))
return SDOperand(CurDAG->getTargetNode(PPC::CMPLDI, MVT::i64, LHS,