[PATCH] D79304: [DAG] Fold (mul(abs(x),abs(x))) -> (mul(x,x)) (PR39476)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 3 12:45:47 PDT 2020


lebedev.ri added a comment.

In D79304#2016839 <https://reviews.llvm.org/D79304#2016839>, @RKSimon wrote:

> In D79304#2016813 <https://reviews.llvm.org/D79304#2016813>, @lebedev.ri wrote:
>
> > Echoing what @craig.topper asked, do we somehow end up with that pattern after instcombine had a chance to do this fold?
>
>
> Where did he ask that?


https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20200427/776590.html

> https://godbolt.org/z/4vIPwf (from PR39476) shows that this IR currently comes through to the backend.




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79304





More information about the llvm-commits mailing list