[PATCH] D131551: [RISCV] Fold vector binary operatrion into select with identity constant.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 00:19:04 PDT 2022


jacquesguan updated this revision to Diff 469486.
jacquesguan added a comment.

rebase and add fp test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131551

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/rvv/vadd-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vand-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vfadd-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vfsub-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vmul-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vor-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vshl-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vsrl-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vsub-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vxor-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131551.469486.patch
Type: text/x-patch
Size: 24458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/e8c6a8ed/attachment.bin>


More information about the llvm-commits mailing list