[PATCH] D138744: [InstSimplify] Fold more Select with Or pattern

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 06:02:28 PST 2022


spatel added a reviewer: bcl5980.
spatel added a subscriber: bcl5980.
spatel added a comment.

This looks right, but it is incomplete - it does not handle the commuted pattern?
D138700 <https://reviews.llvm.org/D138700> says it handles this and more, so let's proceed with that patch.
@bcl5980 - a vector test as shown here would be a good addition.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138744



More information about the llvm-commits mailing list