[PATCH] D92745: [LoopIdiomRecognize] Teach detectShiftUntilZeroIdiom to recognize loops where the counter is decrementing.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 03:16:34 PST 2020


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

LGTM, thank you.
I've checked, and alive2 is also happy with this.
As discussed, once D91038 <https://reviews.llvm.org/D91038> patchset makes progress, i'd like to either subsume this functionality, or at least rip out indvar canonicalization.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92745



More information about the llvm-commits mailing list