[PATCH] D120052: [GlobalDCE] Simplify and return Changed = true less often

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 17 07:29:09 PST 2022


serge-sans-paille accepted this revision.
serge-sans-paille added a comment.
This revision is now accepted and ready to land.

Yeah, better keep this conservative, and this patch looks good. If you're brave you could try to craft an extra .ll that have multiple constant users and see if the algorithm can get rid of them without the calls to `removeDeadConstantUsers`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120052



More information about the llvm-commits mailing list