[PATCH] D43225: [DAGCombiner] Add one use check to fold (not (and x, y)) -> (or (not x), (not y))

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 04:35:47 PST 2018


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM - I'm curious whether it's be useful for those combines to support vectors at some point, X86 combineANDXORWithAllOnesIntoANDNP might match more cases then.


Repository:
  rL LLVM

https://reviews.llvm.org/D43225





More information about the llvm-commits mailing list