aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DebugCounter.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-10-23 21:23:18 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-10-23 21:23:18 +0000
commitabd820a92bc82b5279c8cf87d54e89915414fedb (patch)
treec892262347eb0fa3cd97b7777087621d3f3677ae /llvm/lib/Support/DebugCounter.cpp
parentedc3201b11bb7fcf9f8ccdfb72be506c41849978 (diff)
downloadllvm-abd820a92bc82b5279c8cf87d54e89915414fedb.zip
llvm-abd820a92bc82b5279c8cf87d54e89915414fedb.tar.gz
llvm-abd820a92bc82b5279c8cf87d54e89915414fedb.tar.bz2
CGP: Clear data structures at the end of a loop iteration instead of the beginning.
Clearing LargeOffsetGEPMap at the end fixes a bug where if a large offset GEP is in a dead basic block, we fail an assertion when trying to delete the block due to the asserting VH in LargeOffsetGEPMap. Differential Revision: https://reviews.llvm.org/D53464 llvm-svn: 345082
Diffstat (limited to 'llvm/lib/Support/DebugCounter.cpp')
0 files changed, 0 insertions, 0 deletions