[PATCH] D102234: [SimpleLoopBoundSplit] Split Bound of Loop which has conditional branch with IV

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 26 07:01:30 PDT 2021


jaykang10 added a comment.

@reames @mkazantsev I have tried to update this patch following the new suggestion.

I have kept below things from previous patch.

1. ICmp of conditional branch for AddRec and its step.
2. Chosen one split candidate to remove conditional branch
3. If we do not choose one split candidate, we need a logic which conditional branch has the min bound.
4. The branch condition, which is removed, is changed to true or false to avoid same transformation with same conditional branch during next run of this pass.

This update could not be enough for the new suggestion. If you feel something wrong from this update, please let me know.


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

https://reviews.llvm.org/D102234



More information about the llvm-commits mailing list