[PATCH] D154584: Improve collectEphemeralValues and use it in CodeGenPrepare

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 20:04:01 PDT 2023


skatkov added reviewers: hfinkel, chandlerc, spatel.
skatkov added a comment.

ping.

I wonder whether it will easier to review if I split this patch into three one:

1. Use wouldInstructionBeTriviallyDead instead of checking side-effect and terminator only to extend the scope of collecting ephemeral values
2. Use CodeMetrics utility in CodeGenPrepare
3. Extend the algorithm for collecting ephemeral values by checking cycles (induction variable case)

I'd like to make a progress on this, so I need feedback.


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

https://reviews.llvm.org/D154584



More information about the llvm-commits mailing list