[llvm] [LV] Add initial support for vectorizing literal struct return values (PR #109833)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 26 13:35:39 PST 2025
================
@@ -1506,6 +1514,8 @@ InstructionCost VPWidenRecipe::computeCost(ElementCount VF,
return Ctx.TTI.getArithmeticInstrCost(Instruction::Mul, VectorTy,
Ctx.CostKind);
}
+ case Instruction::ExtractValue:
+ return 0;
----------------
fhahn wrote:
Do we have tests to make sure we do the right thing when results are not returned in vector registers (as in https://llvm.godbolt.org/z/zsv3G3h7n)?
https://github.com/llvm/llvm-project/pull/109833
More information about the llvm-commits
mailing list