[PATCH] D140935: [InstCombine] C - cttz(X) => ctlz(X) if C is bitwidth

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 02:19:13 PST 2023


RKSimon added a comment.

Won't this only work if only a single bit is set (pow2)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140935



More information about the llvm-commits mailing list