OSDN Git Service

CallAnalyzer::analyzeCall: change the condition back to "Cost < Threshold"
authorHans Wennborg <hans@hanshq.net>
Fri, 5 Feb 2016 20:32:42 +0000 (20:32 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 5 Feb 2016 20:32:42 +0000 (20:32 +0000)
commita1b78524c8f52cc4d115a62be501fd4819528364
tree124cfa889c7041d1bce7e536f4c4ecbc1b2f108e
parente1451a3ca95e6cca651fcc72ad113eadde23c34f
CallAnalyzer::analyzeCall: change the condition back to "Cost < Threshold"

In r252595, I inadvertently changed the condition to "Cost <= Threshold",
which caused a significant size regression in Chrome. This commit rectifies
that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259915 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InlineCost.cpp