[PATCH] D139272: [RISCV]Keep (select c, 0/-1, X) during PerformDAGCombine

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 01:10:48 PST 2022


liaolucy updated this revision to Diff 480011.
liaolucy retitled this revision from "Branchless optimization for select instructions" to "[RISCV]Keep (select c, 0/-1, X) during PerformDAGCombine".
liaolucy edited the summary of this revision.
liaolucy added a comment.
Herald added subscribers: sunshaoce, eopXD, VincentWu, vkmr, evandro, benna, psnobl, shiva0217, kito-cheng.

add new RUN lines with -mcpu=sifive-u74

Try to add more optimization details


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139272

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/select-binop-identity.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139272.480011.patch
Type: text/x-patch
Size: 16613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221205/606fafb7/attachment.bin>


More information about the llvm-commits mailing list