[llvm-branch-commits] [llvm] [TTI][SLP] Pass the scalars of the lanes to getArithmeticInstrCost (PR #241758)
Alexey Bataev via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 16 09:46:39 PST 2026
================
@@ -1113,7 +1113,7 @@ InstructionCost TargetTransformInfo::getArithmeticInstrCost(
}
InstructionCost Cost = TTIImpl->getArithmeticInstrCost(
- Opcode, Ty, CostKind, Op1Info, Op2Info, Args, CtxI);
+ Opcode, Ty, CostKind, Op1Info, Op2Info, Args, CtxI, Scalars);
----------------
alexey-bataev wrote:
Pass TLibInfo
https://github.com/llvm/llvm-project/pull/241758
More information about the llvm-branch-commits
mailing list