diff options
-rw-r--r-- | lib/Analysis/InductionVariable.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Analysis/InductionVariable.cpp b/lib/Analysis/InductionVariable.cpp index 321c237c87..cdcc42f871 100644 --- a/lib/Analysis/InductionVariable.cpp +++ b/lib/Analysis/InductionVariable.cpp @@ -254,14 +254,16 @@ Value* InductionVariable::getExecutionCount(LoopInfo *LoopInfo) { End = ConstantSInt::get(ubSigned->getType(), ubSigned->getValue()+1); DEBUG(std::cerr << "signed int constant\n"); } else if (ConstantUInt *ubUnsigned = dyn_cast<ConstantUInt>(End)) { - End = ConstantUInt::get(ubUnsigned->getType(), ubUnsigned->getValue()+1); + End = ConstantUInt::get(ubUnsigned->getType(), + ubUnsigned->getValue()+1); DEBUG(std::cerr << "unsigned int constant\n"); } else { DEBUG(std::cerr << "symbolic bound\n"); //End = NULL; // new expression N+1 End = BinaryOperator::create(Instruction::Add, End, - ConstantUInt::get(ubUnsigned->getType(), 1)); + ConstantUInt::get(ubUnsigned->getType(), + 1)); } break; } |