diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-26 01:50:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-26 01:50:12 +0000 |
commit | 11fe72661dac17efa1564ef6fc212acae4f0c07e (patch) | |
tree | 3d4957ccbbeee6b14f247047e996232bc83c652d /lib/Analysis/ValueTracking.cpp | |
parent | 695b9f3d5ec83d8ed34dd560ef318e2df965071e (diff) |
remove some redundant braces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | lib/Analysis/ValueTracking.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Analysis/ValueTracking.cpp b/lib/Analysis/ValueTracking.cpp index d27f8a5f71..f4b550f9f7 100644 --- a/lib/Analysis/ValueTracking.cpp +++ b/lib/Analysis/ValueTracking.cpp @@ -833,14 +833,12 @@ bool llvm::ComputeMultiple(Value *V, unsigned Base, Value *&Multiple, switch (I->getOpcode()) { default: break; - case Instruction::SExt: { + case Instruction::SExt: if (!LookThroughSExt) return false; // otherwise fall through to ZExt - } - case Instruction::ZExt: { + case Instruction::ZExt: return ComputeMultiple(I->getOperand(0), Base, Multiple, LookThroughSExt, Depth+1); - } case Instruction::Shl: case Instruction::Mul: { Value *Op0 = I->getOperand(0); |