[llvm] 1d2da21 - [nfc][ctx_prof] Test comments and more clarity in values.

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 21:11:46 PDT 2024


Author: Mircea Trofin
Date: 2024-09-06T21:10:24-07:00
New Revision: 1d2da210a2f04af53b10fc9d91dcd1e0eed61140

URL: https://github.com/llvm/llvm-project/commit/1d2da210a2f04af53b10fc9d91dcd1e0eed61140
DIFF: https://github.com/llvm/llvm-project/commit/1d2da210a2f04af53b10fc9d91dcd1e0eed61140.diff

LOG: [nfc][ctx_prof] Test comments and more clarity in values.

Added: 
    

Modified: 
    llvm/test/Analysis/CtxProfAnalysis/load-unapplicable.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/CtxProfAnalysis/load-unapplicable.ll b/llvm/test/Analysis/CtxProfAnalysis/load-unapplicable.ll
index ac5e7930d3f532..09d2e150fbcef6 100644
--- a/llvm/test/Analysis/CtxProfAnalysis/load-unapplicable.ll
+++ b/llvm/test/Analysis/CtxProfAnalysis/load-unapplicable.ll
@@ -12,7 +12,9 @@
 ; CHECK: No contextual profile was provided
 ;
 ; This is the reference profile, laid out in the format the json formatter will
-; output it from opt.
+; output it from opt. Note that the root GUIDs - 12341 and 34234 - are 
diff erent from
+; the GUID present in the module, which is otherwise present in the profile, but not
+; as a root.
 ;--- profile.json
 [
   {
@@ -25,7 +27,7 @@
     "Counters": [
       5
     ],
-    "Guid": 12074870348631550642
+    "Guid": 1000
   },
   {
     "Callsites": [
@@ -35,14 +37,14 @@
             6,
             7
           ],
-          "Guid": 728453322856651412
+          "Guid": 1000
         }
       ]
     ],
     "Counters": [
       1
     ],
-    "Guid": 11872291593386833696
+    "Guid": 34234
   }
 ]
 ;--- example.ll
@@ -60,4 +62,4 @@ no:
 }
 
 attributes #0 = { noinline }
-!0 = !{ i64 1000 }
\ No newline at end of file
+!0 = !{ i64 1000 }


        


More information about the llvm-commits mailing list