[PATCH] D73763: [DSE] Lift post-dominance restriction.

George Burgess IV via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 10:51:39 PDT 2020


george.burgess.iv added a comment.

> IIUC, the additional set would be used for the non-alloca cases, as we have to ensure that there are overwrites along all paths to the exit.

Yup!

> For allocas, we have to explore all access along all paths to function exits, as this patch currently does. What I meant to say in my previous comment was that I think we have to stick to the walking as in the patch, which is also what your last comment said, unless I am missing something :)

Ah, I see. Yeah, agreed :)

> If you are happy with the direction, I would update this patch to only handle the alloca case

SGTM


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73763/new/

https://reviews.llvm.org/D73763





More information about the llvm-commits mailing list