[llvm-commits] [llvm] r89912 - /llvm/trunk/lib/Analysis/ValueTracking.cpp
Chris Lattner
sabre at nondot.org
Wed Nov 25 17:50:12 PST 2009
Author: lattner
Date: Wed Nov 25 19:50:12 2009
New Revision: 89912
URL: http://llvm.org/viewvc/llvm-project?rev=89912&view=rev
Log:
remove some redundant braces
Modified:
llvm/trunk/lib/Analysis/ValueTracking.cpp
Modified: llvm/trunk/lib/Analysis/ValueTracking.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ValueTracking.cpp?rev=89912&r1=89911&r2=89912&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ValueTracking.cpp (original)
+++ llvm/trunk/lib/Analysis/ValueTracking.cpp Wed Nov 25 19:50:12 2009
@@ -833,14 +833,12 @@
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);
More information about the llvm-commits
mailing list