mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 03:36:43 +00:00
Fix variable shadowing issue
llvm-svn: 28922
This commit is contained in:
parent
494f476ca7
commit
a572f110b4
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user