[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
Wed Dec 9 02:54:28 PST 2020


lebedev.ri added a comment.

I.e. my comment is - given that nowadays `-indvars` will run right afterwards,
should we really care about trying to do it's job.
Should we not *just* transform the loop into countable,
and let it deal with cleaning the old IV's?


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