[PATCH] D34135: [JumpThreading] Use DT to avoid processing dead blocks

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 08:36:24 PST 2018


dberlin added a comment.

In https://reviews.llvm.org/D34135#991496, @efriedma wrote:

> I think PR36133 could be considered a different issue.  LVI currently uses a domtree for certain queries involving llvm.assume; to make that work, the domtree would have to be up-to-date every time we call into LVI.  But we could solve that separately from the problem of dead code in LVI.


Or it needs to know that it must flush updates before using it (not sure how incestuous you want to make this.  This would basically be making LazyDomTree that flushes the deferred updater when you called dominates on it :P)


https://reviews.llvm.org/D34135





More information about the llvm-commits mailing list