[PATCH] D103510: [RISCV] Use vmv.v.[v|i] if we know COPY is under the same vl and vtype.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 11 14:08:29 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:418
+ unsigned LMulBits = static_cast<unsigned>(LMul);
+ unsigned LMulVal = 1 << (LMulBits < 4 ? LMulBits : 0);
+ if (forwardCopyWillClobberTuple(DstEncoding, SrcEncoding, NF * LMulVal)) {
----------------
Use RISCVVType::decodeVLMUL
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:425
+ // For Zvlsseg, UseVMV_V_V is always false.
for (; I != End; I += Incr) {
----------------
Write an assert for this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103510/new/
https://reviews.llvm.org/D103510
More information about the llvm-commits
mailing list