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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2017-04-17 21:07:26 +00:00
parent c2c171286c
commit 2e4163e54d

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;
} }