[llvm] [VPlan] Implement VPInterleaveRecipe::computeCost. (PR #106067)
Elvis Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 17:25:44 PDT 2024
================
@@ -270,8 +270,6 @@ void VPRecipeBase::moveBefore(VPBasicBlock &BB,
static Instruction *getInstructionForCost(const VPRecipeBase *R) {
if (auto *S = dyn_cast<VPSingleDefRecipe>(R))
return dyn_cast_or_null<Instruction>(S->getUnderlyingValue());
- if (auto *IG = dyn_cast<VPInterleaveRecipe>(R))
----------------
ElvisWang123 wrote:
Remove `VPinterleaveRecipe` here will prevent `-force-target-instr-cost` overwriting recipe cost that may be inconsistent to the legacy model.
https://github.com/llvm/llvm-project/pull/106067
More information about the llvm-commits
mailing list