[PATCH] D132614: [RISCV] Apply DeMorgan's law to (and/or (xor X, 1), (xor Y, 1)) if X and Y are 0/1.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 15:51:26 PDT 2022


craig.topper added a comment.

I didn't notice, but this only handled `or`. The and case ended up with an `not` due to SimplifyDemandedBits.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132614



More information about the llvm-commits mailing list