[PATCH] D9689: Add a stat to show how often the MaxLookupSearchDepth limit is hit

Quentin Colombet qcolombet at apple.com
Wed Aug 5 13:15:49 PDT 2015


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

Hi Wei,

Aside from bike shedding with comments and variable names.
LGTM.

Thanks,
-Quentin


================
Comment at: lib/Analysis/BasicAliasAnalysis.cpp:51
@@ +50,3 @@
+STATISTIC(SearchLimitReached, "Number of times the limit of "
+                              "MaxLookupSearchDepth is reached");
+STATISTIC(SearchTimes, "Number of times the gep expression is searched")
----------------
Number of times the limit to decompose GEPs is reached.

================
Comment at: lib/Analysis/BasicAliasAnalysis.cpp:52
@@ +51,3 @@
+                              "MaxLookupSearchDepth is reached");
+STATISTIC(SearchTimes, "Number of times the gep expression is searched")
+
----------------
Number of times a GEP is decomposed.


Repository:
  rL LLVM

http://reviews.llvm.org/D9689





More information about the llvm-commits mailing list