Silence gcc warning about an unused variable when doing a release build.
authorDuncan Sands <baldrick@free.fr>
Tue, 28 Dec 2010 09:41:15 +0000 (09:41 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 28 Dec 2010 09:41:15 +0000 (09:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122593 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopIdiomRecognize.cpp

index 476cb284bae3275e004d33f538093ca8859bf054..7565b7058209cfa6c1efff6987d8b57fda9c6b7d 100644 (file)
@@ -254,6 +254,7 @@ processLoopStoreOfSplatValue(StoreInst *SI, unsigned StoreSize,
   
   DEBUG(dbgs() << "  Formed memset: " << *NewCall << "\n"
                << "    from store to: " << *Ev << " at: " << *SI << "\n");
+  (void)NewCall;
   
   // Okay, the memset has been formed.  Zap the original store and anything that
   // feeds into it.