[PATCH] D103510: [RISCV] Use vmv.v.[v|i] if we know COPY is under the same vl and vtype.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 10 06:50:32 PDT 2021


HsiangKai updated this revision to Diff 378505.
HsiangKai added a comment.

In the current implementation, the size of registers of producing and copying must be the same. For Zvlsseg, these sizes must be different. So, we have no need to consider it. I removed the checking in the update.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103510

Files:
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
  llvm/lib/Target/RISCV/RISCVInstrFormats.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/test/CodeGen/RISCV/rvv/calling-conv-fastcc.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll
  llvm/test/CodeGen/RISCV/rvv/vmv-copy.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103510.378505.patch
Type: text/x-patch
Size: 34383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211010/fa3f6179/attachment.bin>


More information about the llvm-commits mailing list