[PATCH] D127296: [AArch64] Remove ToBeRemoved from AArch64MIPeepholeOpt

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 06:42:11 PDT 2022


jaykang10 accepted this revision.
jaykang10 added a comment.
This revision is now accepted and ready to land.

Thanks for this patch @dmgreen!
As you mentioned, the `ToBeRemoved` was to keep the iterator safe. I think the `make_early_inc_range` is better and it should be ok.
LGTM.


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

https://reviews.llvm.org/D127296



More information about the llvm-commits mailing list