[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 16:11:13 PDT 2022


craig.topper updated this revision to Diff 455413.
craig.topper added a comment.

Fix the AND case


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132614

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/double-previous-failure.ll
  llvm/test/CodeGen/RISCV/setcc-logic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132614.455413.patch
Type: text/x-patch
Size: 10576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/7d7ae816/attachment.bin>


More information about the llvm-commits mailing list