From 9a4cacb7c293c3e0ad97910ec75a0bd161310ab3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 9 Feb 2006 07:41:14 +0000 Subject: [PATCH] Fix 80-column violations git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26088 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InstructionCombining.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 95300652d5a..49966ae2e25 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -3819,9 +3819,9 @@ Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantUInt *Op1, Op0BO->getOperand(0), Op1, Op0BO->getName()); InsertNewInstBefore(YS, I); // (Y << C) - Instruction *X = BinaryOperator::create(Op0BO->getOpcode(), YS, - V1, - Op0BO->getOperand(1)->getName()); + Instruction *X = + BinaryOperator::create(Op0BO->getOpcode(), YS, V1, + Op0BO->getOperand(1)->getName()); InsertNewInstBefore(X, I); // (X + (Y << C)) Constant *C2 = ConstantInt::getAllOnesValue(X->getType()); C2 = ConstantExpr::getShl(C2, Op1); @@ -3833,7 +3833,7 @@ Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantUInt *Op1, match(Op0BO->getOperand(1), m_And(m_Shr(m_Value(V1), m_Value(V2)), m_ConstantInt(CC))) && V2 == Op1 && - cast(Op0BO->getOperand(1))->getOperand(0)->hasOneUse()) { + cast(Op0BO->getOperand(1))->getOperand(0)->hasOneUse()) { Instruction *YS = new ShiftInst(Instruction::Shl, Op0BO->getOperand(0), Op1, Op0BO->getName()); @@ -3856,9 +3856,9 @@ Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantUInt *Op1, Op0BO->getOperand(1), Op1, Op0BO->getName()); InsertNewInstBefore(YS, I); // (Y << C) - Instruction *X = BinaryOperator::create(Op0BO->getOpcode(), YS, - V1, - Op0BO->getOperand(0)->getName()); + Instruction *X = + BinaryOperator::create(Op0BO->getOpcode(), YS, V1, + Op0BO->getOperand(0)->getName()); InsertNewInstBefore(X, I); // (X + (Y << C)) Constant *C2 = ConstantInt::getAllOnesValue(X->getType()); C2 = ConstantExpr::getShl(C2, Op1); @@ -3869,7 +3869,8 @@ Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantUInt *Op1, match(Op0BO->getOperand(0), m_And(m_Shr(m_Value(V1), m_Value(V2)), m_ConstantInt(CC))) && V2 == Op1 && - cast(Op0BO->getOperand(0))->getOperand(0)->hasOneUse()) { + cast(Op0BO->getOperand(0)) + ->getOperand(0)->hasOneUse()) { Instruction *YS = new ShiftInst(Instruction::Shl, Op0BO->getOperand(1), Op1, Op0BO->getName());