mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-22 20:18:38 +00:00
[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:
parent
c2c171286c
commit
2e4163e54d
@ -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
Block a user