[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


================
@@ -5224,7 +5225,7 @@ InstructionCost AArch64TTIImpl::getArithmeticInstrCost(
       ISD == ISD::FDIV || ISD == ISD::FREM || ISD == ISD::FNEG)
     if (CostKind != TTI::TCK_RecipThroughput)
       return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info,
-                                           Op2Info, Args, CtxI);
+                                           Op2Info, Args, CtxI, Scalars);
----------------
alexey-bataev wrote:

tlibinfo

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


More information about the llvm-branch-commits mailing list