[PATCH] D113291: [AggressiveInstCombine] Lower Table Based CTTZ and enable it for AARCH64 in -O3

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 11:34:02 PDT 2022


efriedma added a comment.

Concretely, my preferred solution looks something like:

1. Perform the transform unconditionally in AggressiveInstCombine (so this patch without the preferCTTZLowering() bits).
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