commit | 7922d34b6073712cb62f7d4d74810509c19a84df | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Tue Dec 28 09:41:15 2010 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Tue Dec 28 09:41:15 2010 +0000 |
tree | 24b66093a161f510dcf3645536dbb77fd9a127fe | |
parent | 245a1e20419aa5a3c833d7a8e89168e19d5f4d2c [diff] [blame] |
Silence gcc warning about an unused variable when doing a release build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122593 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index 476cb28..7565b70 100644 --- a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
@@ -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.