[PATCH] D107353: [LoopIdiom] let the pass deal with runtime memset size

Yueh-Ting Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 10:08:20 PDT 2021


eopXD added a comment.

Thank you @lebedev.ri for guiding my huge code chunk in D104636 <https://reviews.llvm.org/D104636> into this patch that is more concise.
Also thank you @Whitney, @bmahjour, @qianzhen for reviewing my code.
I am now going to commit it.

Next I would work on the case when  `MemsetSizeSCEV != PointerStrideSCEV`. In this case, the SCEV-s can be folded given the loop entry is already protected by loop guard.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107353



More information about the llvm-commits mailing list