[llvm] [AArch64][LV][SLP] Vectorizers use call cost for vectorized frem (PR #82488)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 12:12:25 PDT 2024


================
@@ -8852,7 +8852,8 @@ BoUpSLP::getEntryCost(const TreeEntry *E, ArrayRef<Value *> VectorizedVals,
       TTI::OperandValueInfo Op1Info = getOperandInfo(E->getOperand(0));
       TTI::OperandValueInfo Op2Info = getOperandInfo(E->getOperand(OpIdx));
       return TTI->getArithmeticInstrCost(ShuffleOrOp, VecTy, CostKind, Op1Info,
-                                         Op2Info) +
+                                         Op2Info, ArrayRef<const Value *>(),
----------------
paschalis-mpeis wrote:

Applied in the latest commit: (97a2ad9fb87cbb53328936b88341dbd15bde3585).
Thanks for the suggestion and the comments throughout the reviewing process.

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


More information about the llvm-commits mailing list