aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/llvm-reduce.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2020-08-22 10:14:20 -0500
committerMichael Kruse <llvm-project@meinersbur.de>2020-08-22 10:14:20 -0500
commit8e06bf6b3a2e8d25e56cd52dca0cf3ff1b37b5d1 (patch)
treeb79276a96070f5a51d1debc199de5190df6dd978 /llvm/tools/llvm-reduce/llvm-reduce.cpp
parent6983741eaa84e76802feca9145e39293cc6d15b4 (diff)
downloadllvm-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