]> granicus.if.org Git - llvm/commit
[InlineCost] Small changes to early exit condition. NFC.
authorHaicheng Wu <haicheng@codeaurora.org>
Fri, 25 Aug 2017 19:00:33 +0000 (19:00 +0000)
committerHaicheng Wu <haicheng@codeaurora.org>
Fri, 25 Aug 2017 19:00:33 +0000 (19:00 +0000)
commit33be26f89361e721175635ed0195348a38fbffcc
treea2d04db051e8b060370992d6856443ca057e77a6
parentef9c2d804eb579ad2767d192798b9fe167ddf821
[InlineCost] Small changes to early exit condition. NFC.

Change the early exit condition from Cost > Threshold to Cost >= Threshold
because the inline condition is Cost < Threshold.

Differential Revision: https://reviews.llvm.org/D37087

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