[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
Thu Jun 15 00:35:45 PDT 2023


liaolucy updated this revision to Diff 531629.
liaolucy added a comment.

Rebase and remove two temporary variables, clearer now.


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.531629.patch
Type: text/x-patch
Size: 4400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230615/a7ebac6b/attachment.bin>


More information about the llvm-commits mailing list