[llvm] [SLP] More accurately cost RISCV scalar splats (PR #213104)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 09:58:26 PDT 2026
================
@@ -3594,6 +3609,31 @@ bool RISCVTTIImpl::canSplatOperand(Instruction *I, int Operand) const {
}
}
+TargetTransformInfo::VectorInstrContext RISCVTTIImpl::getBuildVectorContextHint(
+ ArrayRef<int> Mask, ArrayRef<Value *> Scalars,
+ function_ref<bool(SmallVectorImpl<TargetTransformInfo::BuildVectorUseOp> &)>
+ GatherUseOps) const {
----------------
lukel97 wrote:
Can you elaborate which parts are specific?
https://github.com/llvm/llvm-project/pull/213104
More information about the llvm-commits
mailing list