[PATCH] D17584: Cleanup inline cost analysis code

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 17:41:43 PST 2016


reames added inline comments.

================
Comment at: lib/Analysis/InlineCost.cpp:1307
@@ -1306,3 +1319,1 @@
   for (unsigned Idx = 0; Idx != BBWorklist.size(); ++Idx) {
-    // Bail out the moment we cross the threshold. This means we'll under-count
-    // the cost, but only when undercounting doesn't matter.
----------------
This still needs to be made an assert.


http://reviews.llvm.org/D17584





More information about the llvm-commits mailing list