[PATCH] D155328: [RISCV] Add a DAG combine for (czero_eq X, (xor Y, 1)) -> (czero_ne X, Y) if Y is 0 or 1.

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 11:37:26 PDT 2023


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

How about we merge this and then continue the discussion about something like D155288 <https://reviews.llvm.org/D155288> to handle the remaining cases. This change LGTM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155328



More information about the llvm-commits mailing list