[llvm] [VPlan] Compute scalar cost based on VPlan0 instead of legacy CM. (PR #196845)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 07:26:38 PDT 2026
================
@@ -1114,7 +1114,6 @@ InstructionCost VPRecipeWithIRFlags::getCostForRecipeWithOpcode(
Type *ResultTy = VF.isVector() ? toVectorTy(ScalarTy, VF) : ScalarTy;
switch (Opcode) {
case Instruction::FNeg:
- return Ctx.TTI.getArithmeticInstrCost(Opcode, ResultTy, Ctx.CostKind);
----------------
fhahn wrote:
I missed those, added, thanks
https://github.com/llvm/llvm-project/pull/196845
More information about the llvm-commits
mailing list