Suppress an unused variable warning when assertions are off;
authorDuncan Sands <baldrick@free.fr>
Fri, 8 Jan 2010 17:51:48 +0000 (17:51 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 8 Jan 2010 17:51:48 +0000 (17:51 +0000)
remove some trailing whitespace while there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93008 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/Reassociate.cpp

index f2a8633f97ade6696896cd12b923726b6017de36..3cc380a0e4ba908899c76dbc09c91ef0d2a56272 100644 (file)
@@ -801,14 +801,15 @@ Value *Reassociate::OptimizeAdd(Instruction *I,
     
     // No need for extra uses anymore.
     delete DummyInst;
-    
+
     unsigned NumAddedValues = NewMulOps.size();
     Value *V = EmitAddTreeOfValues(I, NewMulOps);
-    
+
     // Now that we have inserted the add tree, optimize it. This allows us to
     // handle cases that require multiple factoring steps, such as this:
     // A*A*B + A*A*C   -->   A*(A*B+A*C)   -->   A*(A*(B+C))
     assert(NumAddedValues > 1 && "Each occurrence should contribute a value");
+    (void)NumAddedValues;
     V = ReassociateExpression(cast<BinaryOperator>(V));
 
     // Create the multiply.