[llvm] [DeadStoreElimination] Handle dominating conditions established by all predecessors (PR #181615)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 16 06:06:07 PST 2026


antoniofrighetto wrote:

> > The principled thing to do would be to take into account all dominating conditions.
> 
> That would imply: for each predecessors, walk up the dom tree and collect dominating conditions, correct? (Otherwise we wouldn't be covering #86920).

Oh, I think I see that now: add the variant for the predecessors on top of taking into account all the dominating conditions.


https://github.com/llvm/llvm-project/pull/181615


More information about the llvm-commits mailing list