[PATCH] D22491: Added ThinLTO inlining statistics

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 13:26:08 PDT 2016


mehdi_amini added inline comments.

================
Comment at: lib/Transforms/Utils/ThinLTOInlinerStats.cpp:203
@@ +202,3 @@
+  static ThinLTOInlinerStatistics Stats;
+  return Stats;
+}
----------------
Global mutable state is seldom the right choice, I assume this is what you're gonna move to be state in the inliner?


https://reviews.llvm.org/D22491





More information about the llvm-commits mailing list