[PATCH] D103959: [LoopDeletion] Handle Phis with similar inputs from different block

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 18 04:01:11 PDT 2021


mkazantsev updated this revision to Diff 352969.
mkazantsev edited the summary of this revision.
mkazantsev added a comment.
This revision is now accepted and ready to land.

Rebased, comments updated. Will wait couple days before landing, in case if underlying patch breaks.
@nikic could you please check if this has negative CT impact? I imagine it could, just interesting how big it is.

If it's visible, then maybe we should return to idea of lazy phi evaluation.


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

https://reviews.llvm.org/D103959

Files:
  llvm/lib/Transforms/Scalar/LoopDeletion.cpp
  llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103959.352969.patch
Type: text/x-patch
Size: 4742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210618/69f9ab55/attachment.bin>


More information about the llvm-commits mailing list