commit | c154f621c37e00c481255251a24a06942656bb5f | [log] [tgz] |
---|---|---|
author | Michael Kruse <llvm-project@meinersbur.de> | Sat Aug 22 10:14:20 2020 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 03 18:12:20 2020 -0700 |
tree | 513065a4d275f1500def168e4f2f5a7a6192e9e8 | |
parent | 57e95f93288b5a595828e07644777a7ad0fc47ff [diff] |
[Polly] Ensure consistent Scop::InstStmtMap. NFC. InstStmtMap became inconsistent with ScopStmt::getInstructions() after the statement's instructions is modified, e.g. by being considered unused by the Simplify pass or being moved by ForwardOpTree. Change ScopStmt::setInstructions() to also update its parent's InstStmtMap. Also add assertions checking the consistency. GitOrigin-RevId: 8e06bf6b3a2e8d25e56cd52dca0cf3ff1b37b5d1