[llvm] [VPlan] First step towards VPlan cost modeling. (PR #67934)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 07:43:36 PDT 2024
================
@@ -2071,6 +2085,8 @@ class VPInterleaveRecipe : public VPRecipeBase {
"Op must be an operand of the recipe");
return Op == getAddr() && !llvm::is_contained(getStoredValues(), Op);
}
+
+ Instruction *getInsertPos() const { return IG->getInsertPos(); }
----------------
fhahn wrote:
It's used in `computeCostForRecipe` at the moment
https://github.com/llvm/llvm-project/pull/67934
More information about the llvm-commits
mailing list