[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
Mon Jun 5 02:38:38 PDT 2023
liaolucy updated this revision to Diff 528333.
liaolucy added a comment.
revert the last commit.
I tried to set the `related parent` but it always failed, gave up for now.
I'll post next patch later. (Fold xor(setcc x, y, cond), 1 --> setcc (x, y, inverted(cond)))
I'm sorry to bother you all.
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.528333.patch
Type: text/x-patch
Size: 4415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230605/1b51280c/attachment.bin>
More information about the llvm-commits
mailing list