[PATCH] D103255: [LV] Mark increment of main vector loop induction variable as NUW.

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 3 09:18:28 PDT 2021


reames added a comment.

LGTM as well.  I'm not super familiar with this code, but I skimmed the callers and the necessary conditions seemed to be locally implied.

As an aside, do you have a test case where SCEV can't figure this out?  I've got D103118 <https://reviews.llvm.org/D103118> out for review now, and am interested in other such cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103255



More information about the llvm-commits mailing list