summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-12-28 09:41:15 +0000
committerDuncan Sands <baldrick@free.fr>2010-12-28 09:41:15 +0000
commit5cf10e691b680bb4ef0a64ea05ea69773ca4ec68 (patch)
tree0ea8e828d7649c496c999073e8de22ba3d404380 /llvm/lib/Transforms
parentde85bd4f8285681777e77ffe5f2a5c8dc079e483 (diff)
downloadbcm5719-llvm-5cf10e691b680bb4ef0a64ea05ea69773ca4ec68.tar.gz
bcm5719-llvm-5cf10e691b680bb4ef0a64ea05ea69773ca4ec68.zip
Silence gcc warning about an unused variable when doing a release build.
llvm-svn: 122593
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
index 476cb284bae..7565b705820 100644
--- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud