[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 16:13:27 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) {
----------------
chandlerc wrote:
> Prazek wrote:
> > range based for loop? There should be something like .operands()
> I looked and there isn't really. I can add one though.
That would be great, thanks


https://reviews.llvm.org/D30062





More information about the llvm-commits mailing list