[PATCH] D152128: [RISCV] Fold special case (xor (setcc constant, y, setlt), 1) -> (setcc y, constant + 1, setlt)

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 19:10:38 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG12fee611ca53: [RISCV] Fold special case (xor (setcc constant, y, setlt), 1) -> (setcc y… (authored by liaolucy).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152128

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/double-select-icmp.ll
  llvm/test/CodeGen/RISCV/float-select-icmp.ll
  llvm/test/CodeGen/RISCV/half-select-icmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152128.532347.patch
Type: text/x-patch
Size: 4414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230617/8dd7c820/attachment.bin>


More information about the llvm-commits mailing list