mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 12:45:47 +00:00
Don't use an iterator which is potentially invalidated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4344979ba9
commit
a5505cb9c9
@ -3912,7 +3912,7 @@ const SCEV *ScalarEvolution::getSCEVAtScope(const SCEV *V, const Loop *L) {
|
||||
|
||||
// Otherwise compute it.
|
||||
const SCEV *C = computeSCEVAtScope(V, L);
|
||||
Pair.first->second = C;
|
||||
ValuesAtScopes[V][L] = C;
|
||||
return C;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user