[llvm] [AArch64][LV][SLP] Vectorizers use call cost for vectorized frem  (PR #82488)
    Alexey Bataev via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 11 11:08:48 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 *>(),
----------------
alexey-bataev wrote:
```suggestion
                                         Op2Info, std::nullopt,
```
https://github.com/llvm/llvm-project/pull/82488
    
    
More information about the llvm-commits
mailing list