[PATCH] D98287: [DSE] Queue non-memory dead instructions for later removal.

Evgeniy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 20:31:03 PDT 2021


ebrevnov added a comment.

I think, more robust approach would be not to depend on existing instructions but create the required ones during phi translation as needed. Phi translation already does this to some extent. In D90095 <https://reviews.llvm.org/D90095> (which prototypes PHI translation support in DSE)  pointers are simplified by GetPointerBaseWithConstantOffset during PHI translation what effectively removes dependencies on existing GEPs and BitCasts.

What is your motivating example?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98287



More information about the llvm-commits mailing list