mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-02 05:17:15 +00:00
Fit code into 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -254,14 +254,16 @@ Value* InductionVariable::getExecutionCount(LoopInfo *LoopInfo) {
|
|||||||
End = ConstantSInt::get(ubSigned->getType(), ubSigned->getValue()+1);
|
End = ConstantSInt::get(ubSigned->getType(), ubSigned->getValue()+1);
|
||||||
DEBUG(std::cerr << "signed int constant\n");
|
DEBUG(std::cerr << "signed int constant\n");
|
||||||
} else if (ConstantUInt *ubUnsigned = dyn_cast<ConstantUInt>(End)) {
|
} 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");
|
DEBUG(std::cerr << "unsigned int constant\n");
|
||||||
} else {
|
} else {
|
||||||
DEBUG(std::cerr << "symbolic bound\n");
|
DEBUG(std::cerr << "symbolic bound\n");
|
||||||
//End = NULL;
|
//End = NULL;
|
||||||
// new expression N+1
|
// new expression N+1
|
||||||
End = BinaryOperator::create(Instruction::Add, End,
|
End = BinaryOperator::create(Instruction::Add, End,
|
||||||
ConstantUInt::get(ubUnsigned->getType(), 1));
|
ConstantUInt::get(ubUnsigned->getType(),
|
||||||
|
1));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user