[PATCH] D108408: [InstSimplify] Transform X == 0 ? 0 : X * Y --> X * freeze(Y).

Filipp Zhinkin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 14:39:17 PDT 2021


fzhinkin added a comment.

In D108408#2955906 <https://reviews.llvm.org/D108408#2955906>, @lebedev.ri wrote:

> InstSimplify can not create new instructions
> This needs to go into instcombine
> While there, please let's create the multiply, it's less ugly.

Thanks for suggestion!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108408



More information about the llvm-commits mailing list