[compiler-rt] [llvm] [Memprof] Adds instrumentation support for memprof with histograms. (PR #100834)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 18:00:37 PDT 2024


================
@@ -192,7 +195,8 @@ namespace {
 struct ShadowMapping {
   ShadowMapping() {
     Scale = ClMappingScale;
-    Granularity = ClMappingGranularity;
+    // Histogram Granularity is always 8U for now.
----------------
teresajohnson wrote:

Oh are you explaining why it is not a cl::opt? That's sort of unclear

https://github.com/llvm/llvm-project/pull/100834


More information about the llvm-commits mailing list