2 Commits

Author SHA1 Message Date
Fangrui Song
0271ae65a6 [test] Change test/SampleProfile to use opaque pointers 2022-07-17 17:38:35 -07:00
Artur Pilipenko
3f96f7b30c Fix getInlineCost with ComputeFullInlineCost enabled
Fix a bug when getInlineCost incorrectly returns a
cost/threshold pair instead of an explicit never inline.

Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D111687
2021-10-14 17:41:41 -07:00