[llvm-commits] [llvm] r77045 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Eric Christopher
echristo at apple.com
Fri Jul 24 19:45:27 PDT 2009
Author: echristo
Date: Fri Jul 24 21:45:27 2009
New Revision: 77045
URL: http://llvm.org/viewvc/llvm-project?rev=77045&view=rev
Log:
Fix 80-col violations.
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=77045&r1=77044&r2=77045&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Fri Jul 24 21:45:27 2009
@@ -9116,7 +9116,7 @@
// Fold this by inserting a select from the input values.
SelectInst *NewSI = SelectInst::Create(SI.getCondition(), TI->getOperand(0),
- FI->getOperand(0), SI.getName()+".v");
+ FI->getOperand(0), SI.getName()+".v");
InsertNewInstBefore(NewSI, SI);
return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI,
TI->getType());
@@ -9332,7 +9332,7 @@
Value *Sh = ConstantInt::get(In->getType(),
In->getType()->getScalarSizeInBits()-1);
In = InsertNewInstBefore(BinaryOperator::CreateAShr(In, Sh,
- In->getName()+".lobit"),
+ In->getName()+".lobit"),
*ICI);
if (In->getType() != SI.getType())
In = CastInst::CreateIntegerCast(In, SI.getType(),
@@ -10300,7 +10300,8 @@
if (NewRetTy == Type::VoidTy)
Caller->setName(""); // Void type should not have a name.
- const AttrListPtr &NewCallerPAL = AttrListPtr::get(attrVec.begin(),attrVec.end());
+ const AttrListPtr &NewCallerPAL = AttrListPtr::get(attrVec.begin(),
+ attrVec.end());
Instruction *NC;
if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
@@ -10469,7 +10470,8 @@
NestF->getType() == Context->getPointerTypeUnqual(NewFTy) ?
NestF : Context->getConstantExprBitCast(NestF,
Context->getPointerTypeUnqual(NewFTy));
- const AttrListPtr &NewPAL = AttrListPtr::get(NewAttrs.begin(),NewAttrs.end());
+ const AttrListPtr &NewPAL = AttrListPtr::get(NewAttrs.begin(),
+ NewAttrs.end());
Instruction *NewCaller;
if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
@@ -11042,7 +11044,8 @@
*i = Op;
MadeChange = true;
}
- } else if (TD->getTypeSizeInBits(Op->getType()) < TD->getPointerSizeInBits()) {
+ } else if (TD->getTypeSizeInBits(Op->getType())
+ < TD->getPointerSizeInBits()) {
if (Constant *C = dyn_cast<Constant>(Op)) {
*i = Context->getConstantExprSExt(C, TD->getIntPtrType());
MadeChange = true;
More information about the llvm-commits
mailing list