[PATCH] D85499: [X86] Canonicalize andnp for bitmask arithmetic

Keno Fischer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 22:19:05 PDT 2020


loladiro added a comment.

I think that would be fine, but in that case, we should probably get rid of `x86andnp` entirely and just make `(and (not x) y)` canonical everywhere. The supported patterns for these are much the same, so if we have both canonical forms, we're just signing up for double the work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85499



More information about the llvm-commits mailing list