[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 06:56:02 PDT 2021


lebedev.ri added a comment.

There's two cases here

1. `X == Y`, where we should produce `zext` regardless of use count
2. and this. but there is a number of tests  missing - can this not happen when the operands of mul are different instructions?


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