[llvm] [LV] Add cross-part load overlap heuristic for interleaving (PR #214500)
Sergey Shcherbinin via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 06:47:42 PDT 2026
================
@@ -5417,6 +5493,12 @@ bool VPCostContext::skipCostComputation(Instruction *UI, bool IsVector) const {
SkipCostComputation.contains(UI);
}
+void VPCostContext::recordRecipeCost(const VPRecipeBase *R,
+ InstructionCost Cost) {
+ assert(RecipeCosts && "recipe costs must be enabled by the caller");
+ (*RecipeCosts)[R] = Cost;
+}
----------------
SergeyShch01 wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/214500
More information about the llvm-commits
mailing list