This is an archive of the discontinued LLVM Phabricator instance.

[llvm] InlineCost shouldn't assert about zero thresholds when full cost is requested.
AbandonedPublic

Authored by mtrofin on Aug 6 2019, 12:55 PM.

Details

Summary

When requesting a full cost calculation, threshold values and bonuses could be left 0 without affecting correctness.

Event Timeline

mtrofin created this revision.Aug 6 2019, 12:55 PM
mtrofin edited the summary of this revision. (Show Details)Aug 6 2019, 1:26 PM
mtrofin abandoned this revision.Aug 6 2019, 2:16 PM