[PATCH] D151750: [DAGCombine] `select_cc seteq X, 0, 0, cttz_zero_undef(X) -> and(cttz(X), sizeof(X) - 1)`

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 12:45:40 PDT 2023


craig.topper added a comment.

In D151750#4395423 <https://reviews.llvm.org/D151750#4395423>, @mgudim wrote:

> I have posted a patch for folding binop into select: https://reviews.llvm.org/D152147
> That solves the degradation that @craig.topper pointed out.

Does the issue exist on other targets?


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

https://reviews.llvm.org/D151750



More information about the llvm-commits mailing list