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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 12:33:29 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7dfe62327db8: [RISCV] Add a DAG combine for (czero_eq X, (xor Y, 1)) -> (czero_ne X, Y) if Y… (authored by craig.topper).

Changed prior to commit:
  https://reviews.llvm.org/D155328?vs=540530&id=542153#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155328

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/condops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155328.542153.patch
Type: text/x-patch
Size: 7950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/dabb998a/attachment.bin>


More information about the llvm-commits mailing list