summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2018-07-16 07:51:27 +0000
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>2018-07-16 07:51:27 +0000
commitf854ce84c4cc676ff16adbe819db3bcfd325dabf (patch)
tree1e81ba2d3cd7311c35948627c326df601e60dedf /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
parent832f49b90a4907a0bc2b34b688c32f3c9613aab0 (diff)
downloadbcm5719-llvm-f854ce84c4cc676ff16adbe819db3bcfd325dabf.tar.gz
bcm5719-llvm-f854ce84c4cc676ff16adbe819db3bcfd325dabf.zip
[MemorySSAUpdater] Remove deleted trivial Phis from active workset
Bug fix for PR37808. The regression test is a reduced version of the original reproducer attached to the bug report. As stated in the report, the problem was that InsertedPHIs was keeping dangling pointers to deleted Memory-Phis. MemoryPhis are created eagerly and sometimes get zapped shortly afterwards. I've used WeakVH instead of an expensive removal operation from the active workset. Differential Revision: https://reviews.llvm.org/D48372 llvm-svn: 337149
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud