[all-commits] [llvm/llvm-project] d31278: [InlineOrder] fix the calculation of Cost for Cost...
Xiangyang (Mark) Guo via All-commits
all-commits at lists.llvm.org
Tue Mar 26 15:59:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d31278896208d856b277e34bd7e2a63899f0b57b
https://github.com/llvm/llvm-project/commit/d31278896208d856b277e34bd7e2a63899f0b57b
Author: Xiangyang (Mark) Guo <helloguo at fb.com>
Date: 2024-03-26 (Tue, 26 Mar 2024)
Changed paths:
M llvm/lib/Analysis/InlineOrder.cpp
Log Message:
-----------
[InlineOrder] fix the calculation of Cost for CostBenefitPriority (#86630)
getCost() expects that isVariable() is true.
https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/Analysis/InlineCost.h#L146
Co-authored-by: helloguo <helloguo at meta.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list