[PATCH] D104193: [InstCombine] Require one user (not one use) for operands when optimize both (sext bool X) * (sext bool Y) and (zext bool X) * (zext bool Y)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 13 07:15:39 PDT 2021


lebedev.ri added a comment.

Correction: what i meant to say is, there are two cases:

1. `X == Y`, in which case we do not care about use count. this implicitly handles the case where both operands are the same instruction
2. either operand is one-use


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104193



More information about the llvm-commits mailing list