[PATCH] D71312: [InstCombine] X / (select C, X, -X) -> select C ? 1 : -1

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 19 06:58:53 PST 2020


xbolva00 planned changes to this revision.
xbolva00 added a comment.

In D71312#1779869 <https://reviews.llvm.org/D71312#1779869>, @spatel wrote:

> I'm not sure if this does everything you want, but you probably should look at:
>  InstCombiner::SimplifySelectsFeedingBinaryOp()


Thanks


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71312





More information about the llvm-commits mailing list