[PATCH] D113291: [AggressiveInstCombine] Lower Table Based CTTZ

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 07:06:27 PDT 2022


djtodoro added a comment.

In D113291#3542941 <https://reviews.llvm.org/D113291#3542941>, @efriedma wrote:

> Concretely, my preferred solution looks something like:
>
> 1. Perform the transform unconditionally in AggressiveInstCombine (so this patch without the preferCTTZLowering() bits).

The latest update implements this.

> 2. Teach TargetLowering::expandCTTZ to emit a table lookup.




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

https://reviews.llvm.org/D113291



More information about the llvm-commits mailing list