================
@@ -17575,9 +17575,22 @@ BoUpSLP::getEntryCost(const TreeEntry *E,
ArrayRef<Value *> VectorizedVals,
unsigned OpIdx = isa<UnaryOperator>(VL0) ? 0 : 1;
TTI::OperandValueInfo Op1Info = getOperandInfo(E->getOperand(0));
TTI::OperandValueInfo Op2Info = getOperandInfo(E->getOperand(OpIdx));
+ // A target may price an fmul by the fadd or fsub user of its context.
----------------
alexey-bataev wrote:
Pass the extra info, required for this decision, to TTI
https://github.com/llvm/llvm-project/pull/228902
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits