[llvm] [RISCV] Fix crash when unrolling loop containing vector instructions (PR #83384)
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 02:24:18 PST 2024
================
@@ -37,6 +37,9 @@ static cl::opt<unsigned> SLPMaxVF(
InstructionCost
RISCVTTIImpl::getRISCVInstructionCost(ArrayRef<unsigned> OpCodes, MVT VT,
----------------
frasercrmck wrote:
This might be an aside but I find it a little surprising that this function's called `getRISCVInstructionCost` but it only handles vector instructions. Sounds like it should be `getRVVInstructionCost`. I might be missing something though.
https://github.com/llvm/llvm-project/pull/83384
More information about the llvm-commits
mailing list