Refactor the inline cost bonus calculation for constants to use
authorChandler Carruth <chandlerc@gmail.com>
Wed, 14 Mar 2012 07:32:53 +0000 (07:32 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 14 Mar 2012 07:32:53 +0000 (07:32 +0000)
commit3d1d895c866b76ac4d862301f36e2b95d803f0ab
tree884f6340593b540269eee157bf884e8742fad8e6
parent30442f95573d7e0f505c573bd7462b77769010fa
Refactor the inline cost bonus calculation for constants to use
a worklist rather than a recursive call.

No functionality changed.

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