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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 08:18:34 PDT 2024


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

Add an assert then if the user specifies both ClHistogram and ClMappingGranularity.

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


More information about the llvm-commits mailing list