diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-19 21:13:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-19 21:13:00 +0000 |
commit | 61783d73223eed373fdcf1e4bda29978323f9e54 (patch) | |
tree | f391a8248922ef855276298a91bdc78c0bf87f13 /lib/VMCore/ConstantFold.cpp | |
parent | 72ed200a7e8897544aeddaf3efe6463051e38482 (diff) | |
download | external_llvm-61783d73223eed373fdcf1e4bda29978323f9e54.zip external_llvm-61783d73223eed373fdcf1e4bda29978323f9e54.tar.gz external_llvm-61783d73223eed373fdcf1e4bda29978323f9e54.tar.bz2 |
indentation fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantFold.cpp')
-rw-r--r-- | lib/VMCore/ConstantFold.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp index 1f75fe5..64fa676 100644 --- a/lib/VMCore/ConstantFold.cpp +++ b/lib/VMCore/ConstantFold.cpp @@ -726,31 +726,31 @@ Constant *llvm::ConstantFoldBinaryInstruction(unsigned Opcode, if ((CP1 != NULL || isa<ConstantAggregateZero>(C1)) && (CP2 != NULL || isa<ConstantAggregateZero>(C2))) { switch (Opcode) { - default: - break; - case Instruction::Add: + default: + break; + case Instruction::Add: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getAdd); - case Instruction::Sub: + case Instruction::Sub: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getSub); - case Instruction::Mul: + case Instruction::Mul: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getMul); - case Instruction::UDiv: + case Instruction::UDiv: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getUDiv); - case Instruction::SDiv: + case Instruction::SDiv: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getSDiv); - case Instruction::FDiv: + case Instruction::FDiv: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getFDiv); - case Instruction::URem: + case Instruction::URem: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getURem); - case Instruction::SRem: + case Instruction::SRem: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getSRem); - case Instruction::FRem: + case Instruction::FRem: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getFRem); - case Instruction::And: + case Instruction::And: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getAnd); - case Instruction::Or: + case Instruction::Or: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getOr); - case Instruction::Xor: + case Instruction::Xor: return EvalVectorOp(CP1, CP2, VTy, ConstantExpr::getXor); } } |