[PATCH] D109194: [InstCombine] Optimize (a & b) | (~a & c)

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 18:08:37 PDT 2021


MatzeB added a comment.

Seems this is called masked merge and there is prior discussion/code:

- https://bugs.llvm.org/show_bug.cgi?id=6773
- https://reviews.llvm.org/D45631

Was this combine here missed or is it somehow not good? It does make things slightly faster in my code...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109194



More information about the llvm-commits mailing list