[SCEV] Fix another unused variable warning in release builds.

llvm-svn: 300500
This commit is contained in:
Benjamin Kramer 2017-04-17 21:07:26 +00:00
parent 66c4dd2e29
commit 61d85bc9ae
1 changed files with 1 additions and 0 deletions

View File

@ -1741,6 +1741,7 @@ const SCEV *ScalarEvolution::getSignExtendExprCached(const SCEV *Op, Type *Ty,
const SCEV *SExt = getSignExtendExprImpl(Op, Ty, Cache); const SCEV *SExt = getSignExtendExprImpl(Op, Ty, Cache);
auto InsertResult = Cache.insert({{Op, Ty}, SExt}); auto InsertResult = Cache.insert({{Op, Ty}, SExt});
assert(InsertResult.second && "Expect the key was not in the cache"); assert(InsertResult.second && "Expect the key was not in the cache");
(void)InsertResult;
return SExt; return SExt;
} }