Unverified Commit d3127889 authored by Xiangyang (Mark) Guo's avatar Xiangyang (Mark) Guo Committed by GitHub
Browse files

[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: default avatarhelloguo <helloguo@meta.com>
parent 86692258
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment