[llvm-commits] [llvm] r122593 - /llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

Duncan Sands baldrick at free.fr
Tue Dec 28 01:41:15 PST 2010


Author: baldrick
Date: Tue Dec 28 03:41:15 2010
New Revision: 122593

URL: http://llvm.org/viewvc/llvm-project?rev=122593&view=rev
Log:
Silence gcc warning about an unused variable when doing a release build.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp?rev=122593&r1=122592&r2=122593&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp Tue Dec 28 03:41:15 2010
@@ -254,6 +254,7 @@
   
   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.





More information about the llvm-commits mailing list