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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 00:51:00 PST 2020


craig.topper added inline comments.


================
Comment at: llvm/test/Transforms/LoopIdiom/X86/ctlz.ll:531
+; Recognize CTLZ builtin pattern.
+; Here it will replace the loop -
+; assume builtin is always profitable.
----------------
lebedev.ri wrote:
> Precommit this + use update script?
Should use the script on the whole file?


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