llvm-project/llvm/test/Transforms/GVNHoist
Alexandros Lamprineas bf6009c234 [MemorySSAUpdater] Update Phi operands after trivial Phi elimination
Bug fix for PR37445. The underlying problem and its fix are similar to PR37808.
The bug lies in MemorySSAUpdater::getPreviousDefRecursive(), where PhiOps is
computed before the call to tryRemoveTrivialPhi() and it ends up being out of
date, pointing to stale data. We have now turned each of the PhiOps into a
TrackingVH<MemoryAccess>.

Differential Revision: https://reviews.llvm.org/D49425

llvm-svn: 337680
2018-07-23 10:56:30 +00:00
..
hoist-call.ll
hoist-convergent.ll
hoist-inline.ll
hoist-md.ll
hoist-more-than-two-branches.ll
hoist-mssa.ll
hoist-newgvn.ll
hoist-pr20242.ll
hoist-pr22005.ll
hoist-pr28606.ll
hoist-pr28933.ll
hoist-pr31891.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
hoist-recursive-geps.ll
hoist-simplify-phi.ll [MemorySSA] Fix exponential compile-time updating MemorySSA. 2018-03-26 19:52:54 +00:00
hoist-unsafe-pr31729.ll
hoist-very-busy.ll
hoist.ll
infinite-loop-direct.ll
infinite-loop-indirect.ll [NFC] fix trivial typos in documents and comments 2018-04-12 05:53:20 +00:00
int_sideeffect.ll
ld_hoist1.ll
ld_hoist_st_sink.ll
non-trivial-phi.ll [MemorySSAUpdater] Mark Phi users of a node being moved as non-optimize 2018-04-09 20:55:37 +00:00
pr28626.ll
pr29031.ll
pr29034.ll
pr30216.ll
pr30499.ll
pr35222-hoist-load.ll [GVNHoist] Fix: PR35222 gvn-hoist incorrectly erases load in case of a loop 2018-01-04 07:47:24 +00:00
pr36787.ll [GVNHoist] safeToHoistLdSt allows illegal hoisting 2018-07-23 09:42:35 +00:00
pr37445.ll [MemorySSAUpdater] Update Phi operands after trivial Phi elimination 2018-07-23 10:56:30 +00:00
pr37808.ll [MemorySSAUpdater] Remove deleted trivial Phis from active workset 2018-07-16 07:51:27 +00:00