diff options
author | Duncan Sands <baldrick@free.fr> | 2010-12-28 09:41:15 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-12-28 09:41:15 +0000 |
commit | 7922d34b6073712cb62f7d4d74810509c19a84df (patch) | |
tree | 24b66093a161f510dcf3645536dbb77fd9a127fe | |
parent | 245a1e20419aa5a3c833d7a8e89168e19d5f4d2c (diff) |
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
-rw-r--r-- | lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index 476cb284ba..7565b70582 100644 --- a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -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. |