mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 23:21:04 +00:00
[NFC] Add clarification comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a219a22e1
commit
76f6bf2a28
@ -259,8 +259,10 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) {
|
||||
return false;
|
||||
|
||||
// Anything ScalarEvolution may know about this loop or the PHI nodes
|
||||
// in its header will soon be invalidated, and it can also affect its parent
|
||||
// loops as well.
|
||||
// in its header will soon be invalidated. We should also invalidate
|
||||
// all outer loops because insertion and deletion of blocks that happens
|
||||
// during the rotation may violate invariants related to backedge taken
|
||||
// infos in them.
|
||||
if (SE)
|
||||
SE->forgetTopmostLoop(L);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user