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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 07:59:50 PST 2019


spatel added a comment.

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


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