davidxl added inline comments. ================ Comment at: lib/Analysis/InlineCost.cpp:1323 @@ -1322,3 +1322,3 @@ if (Cost > Threshold) - break; + return false; ---------------- does CA.Threshold needs to be readjusted? Probably not. http://reviews.llvm.org/D17584