[PATCH] D93599: [DAG] Simplify OR(X,SHL(Y,BW/2)) eq/ne 0/-1 'all/any-of' style patterns

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 09:07:39 PST 2021


spatel added a comment.

Does this work with scalars too? Let me know if I missed the test(s).

I'm imagining something like this:
https://alive2.llvm.org/ce/z/JzcBoD

(Seems like we'd want to do that in IR too?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93599



More information about the llvm-commits mailing list