[PATCH] D132237: [SDAG] expand is-power-of-2 pattern that uses popcount

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 11:21:26 PDT 2022


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

I agree, this looks like a good improvement. It might be worth adding a i32 version of the popcount compare tests. Otherwise LGTM


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

https://reviews.llvm.org/D132237



More information about the llvm-commits mailing list