diff --git a/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp b/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp index 47bb20f4aa073..295b26993099e 100644 --- a/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp +++ b/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp @@ -100,8 +100,8 @@ class PPCBoolRetToInt : public FunctionPass { Value *Zero = Constant::getNullValue(IntTy); PHINode *Q = PHINode::Create(IntTy, P->getNumIncomingValues(), P->getName(), P->getIterator()); - for (unsigned i = 0; i < P->getNumOperands(); ++i) - Q->addIncoming(Zero, P->getIncomingBlock(i)); + for (unsigned I = 0; I < P->getNumOperands(); ++I) + Q->addIncoming(Zero, P->getIncomingBlock(I)); return Q; } @@ -254,8 +254,8 @@ class PPCBoolRetToInt : public FunctionPass { // Operands of CallInst/Constant are skipped because they may not be Bool // type. For CallInst, their positions are defined by ABI. if (First && !isa(First) && !isa(First)) - for (unsigned i = 0; i < First->getNumOperands(); ++i) - Second->setOperand(i, BoolToIntMap[First->getOperand(i)]); + for (unsigned I = 0; I < First->getNumOperands(); ++I) + Second->setOperand(I, BoolToIntMap[First->getOperand(I)]); } Value *IntRetVal = BoolToIntMap[U];