diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2020-08-22 10:14:20 -0500 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2020-08-22 10:14:20 -0500 |
commit | 8e06bf6b3a2e8d25e56cd52dca0cf3ff1b37b5d1 (patch) | |
tree | b79276a96070f5a51d1debc199de5190df6dd978 /llvm/tools/llvm-reduce/llvm-reduce.cpp | |
parent | 6983741eaa84e76802feca9145e39293cc6d15b4 (diff) | |
download | llvm-8e06bf6b3a2e8d25e56cd52dca0cf3ff1b37b5d1.zip llvm-8e06bf6b3a2e8d25e56cd52dca0cf3ff1b37b5d1.tar.gz llvm-8e06bf6b3a2e8d25e56cd52dca0cf3ff1b37b5d1.tar.bz2 |
[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.
Diffstat (limited to 'llvm/tools/llvm-reduce/llvm-reduce.cpp')
0 files changed, 0 insertions, 0 deletions