summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-23 15:17:01 +0000
committerChris Lattner <sabre@nondot.org>2003-07-23 15:17:01 +0000
commit3bc9b251b9feac09de9c5016efb4a6b13aca113b (patch)
tree6d32f7e7f303630d8e126f775c5c9ec0ece48e5e /llvm/lib
parent23801c571e39def43e2390f20f5ad40b7f81ce5d (diff)
downloadbcm5719-llvm-3bc9b251b9feac09de9c5016efb4a6b13aca113b.tar.gz
bcm5719-llvm-3bc9b251b9feac09de9c5016efb4a6b13aca113b.zip
Fit code into 80 columns
llvm-svn: 7249
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/InductionVariable.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/InductionVariable.cpp b/llvm/lib/Analysis/InductionVariable.cpp
index 321c237c872..cdcc42f8712 100644
--- a/llvm/lib/Analysis/InductionVariable.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud