[PATCH] D99427: [LoopIdiomRecognize] Teach CTLZ/CTTZ idiom recognition to handle not being able to find a pre-loop check for the input being 0.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 25 05:35:58 PDT 2021


lebedev.ri added a comment.

Hm, i've just completed mine's `recognizeShiftUntilZero()`, and i thought it would resolve this,
but there the shifee is stationary, while here we have shift recurrence (always shift by one).
So more idioms to support...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99427



More information about the llvm-commits mailing list