Inliner: Do zero-cost inlines even if above a negative threshold (PR24851)
authorHans Wennborg <hans@hanshq.net>
Tue, 10 Nov 2015 09:47:48 +0000 (09:47 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 10 Nov 2015 09:47:48 +0000 (09:47 +0000)
commitbe73ba8c825816888abf1919a63afee218a63bbf
tree18ee66e01f1e741fe6e9444a659c5238730d1749
parentfcb6d5f29c05c94b39b0a29e3d93b706d8434bac
Inliner: Do zero-cost inlines even if above a negative threshold (PR24851)

Differential Revision: http://reviews.llvm.org/D14499

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252595 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InlineCost.cpp
test/Transforms/Inline/zero-cost.ll [new file with mode: 0644]