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 | 4f0b47d9e741db751dc855863dd64ae4b35f4a44 (patch) | |
tree | 08799f965ac33bbd91883ec0bd756f6b38af1b6b | |
parent | ff790f15c4ec28062ef2cdec9674a6284c29c819 (diff) | |
download | bcm5719-llvm-4f0b47d9e741db751dc855863dd64ae4b35f4a44.tar.gz bcm5719-llvm-4f0b47d9e741db751dc855863dd64ae4b35f4a44.zip |
remove some redundant braces
llvm-svn: 89912
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index d27f8a5f714..f4b550f9f73 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/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); |