[SCEV] Fix another unused variable warning in release builds.
llvm-svn: 300500
This commit is contained in:
parent
66c4dd2e29
commit
61d85bc9ae
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue