[PATCH] D96028: [RISCV] Add patterns for scalable-vector fabs & fcopysign

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 06:59:22 PST 2021


frasercrmck updated this revision to Diff 321419.
frasercrmck added a comment.

- add support for when the sign is trunc'd or extended from a different type
- we could probably improve some of the code generation in this case (fneg isn't caught)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96028

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
  llvm/test/CodeGen/RISCV/rvv/vfabs-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/vfcopysign-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96028.321419.patch
Type: text/x-patch
Size: 84019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210204/2451a4e5/attachment-0001.bin>


More information about the llvm-commits mailing list