[llvm] [VPlan] Use BlockFrequencyInfo in getPredBlockCostDivisor (PR #158690)
Sam Tebbs via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 2 03:06:06 PDT 2025
================
@@ -6727,6 +6756,11 @@ bool VPCostContext::skipCostComputation(Instruction *UI, bool IsVector) const {
SkipCostComputation.contains(UI);
}
+unsigned VPCostContext::getPredBlockCostDivisor(
----------------
SamTebbs33 wrote:
Is this needed when the caller could just use `Ctx.CM.getPredBlockCostDivisor`?
https://github.com/llvm/llvm-project/pull/158690
More information about the llvm-commits
mailing list