summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2017-04-17 21:00:45 +0000
committerWei Mi <wmi@google.com>2017-04-17 21:00:45 +0000
commit66c4dd2e29d87730466a1902a4122a6ddf012c00 (patch)
treecde0a136470c77492aae17a465ae3a0b2b9701d0 /llvm/lib
parentac7a9eae0bff0067f7e89f31c6d9be85bbbae828 (diff)
downloadbcm5719-llvm-66c4dd2e29d87730466a1902a4122a6ddf012c00.tar.gz
bcm5719-llvm-66c4dd2e29d87730466a1902a4122a6ddf012c00.zip
Fix an unused variable error in rL300494.
llvm-svn: 300499
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 82b91560ccb..ced95372b62 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -1520,6 +1520,7 @@ const SCEV *ScalarEvolution::getZeroExtendExprCached(const SCEV *Op, Type *Ty,
const SCEV *ZExt = getZeroExtendExprImpl(Op, Ty, Cache);
auto InsertResult = Cache.insert({{Op, Ty}, ZExt});
assert(InsertResult.second && "Expect the key was not in the cache");
+ (void)InsertResult;
return ZExt;
}
OpenPOWER on IntegriCloud