[PATCH] D102116: [LoopIdiom] 'logical right-shift until zero' ('count active bits') "on steroids" idiom recognition.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 13:04:06 PDT 2021


lebedev.ri added a comment.

@craig.topper ?

In D102116#2757904 <https://reviews.llvm.org/D102116#2757904>, @zhuhan0 wrote:

> LGTM.

Thanks for taking a look!

In D102116#2752152 <https://reviews.llvm.org/D102116#2752152>, @lebedev.ri wrote:

> Hmm, looks like i might also need at least the "[shifty] count leading zeros" variation of this.

... and i guess it might be an extension of `recognizeShiftUntilBitTest()`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102116



More information about the llvm-commits mailing list