[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
Tue Oct 12 14:37:17 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:360
+ llvm_unreachable("Impossible LMUL for vector register copy.");
+ case RISCVII::LMUL_F8:
+ Opc = RISCV::PseudoVMV_V_V_MF8;
----------------
Is fractional lmul possible here?
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:420
+ std::tie(LMulVal, Fractional) = RISCVVType::decodeVLMUL(LMul);
+ if (Fractional)
+ LMulVal = 1;
----------------
Is a fractional lmul even possible?
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