[PATCH] D32783: [PartialInlining] Add frequency based cost analysis

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 13:43:49 PDT 2017


eraman accepted this revision.
eraman added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Transforms/IPO/PartialInlining.cpp:458
+
+  BranchProbability RelativeFreq =
+      getOutliningCallBBRelativeFreq(F, OI, Callee, CalleeBFI, OutliningCallBB);
----------------
eraman wrote:
> auto here and in the next line.
I think you can use auto  for NormWeightedRCost also.


https://reviews.llvm.org/D32783





More information about the llvm-commits mailing list