[PATCH] D30062: Estimate speedup due to inlining and use that to adjust threshold.

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 26 01:29:53 PST 2017


Prazek added inline comments.


================
Comment at: lib/Analysis/InlineCost.cpp:532
+    bool SVLookup = false;
+    for (User::op_iterator I = GEP.idx_begin(), E = GEP.idx_end(); I != E;
+         ++I) {
----------------
range based for loop? There should be something like .operands()


https://reviews.llvm.org/D30062





More information about the llvm-commits mailing list