HomePhabricator

Revert [InlineCost] cleanup calculations of Cost and Threshold

Authored by rupprecht on Jul 2 2019, 9:01 PM.

Description

Revert [InlineCost] cleanup calculations of Cost and Threshold

This reverts r364422 (git commit 1a3dc761860d620ac8ed7e32a4285952142f780b)

The inlining cost calculation is incorrect, leading to stack overflow due to large stack frames from heavy inlining.

llvm-svn: 365000

Details

Committed
rupprechtJul 2 2019, 9:01 PM
Parents
rGd5bea6e0c1a4: [lld] Use -o /dev/null in test when output is not needed.
Branches
Unknown
Tags
Unknown