[llvm] [RISCV][TTI] Model the cost of insert/extractelt when the vector split into multiple register group and idx exceed single group. (PR #118401)

Elvis Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 22:50:24 PST 2024


================
@@ -1945,6 +1972,7 @@ InstructionCost RISCVTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val,
     // TODO: should we count these special vsetvlis?
     BaseCost = Opcode == Instruction::InsertElement ? 3 : 4;
   }
+
----------------
ElvisWang123 wrote:

Removed, thanks.

https://github.com/llvm/llvm-project/pull/118401


More information about the llvm-commits mailing list