Skip to content

Commit 1d2da21

Browse files
committed
[nfc][ctx_prof] Test comments and more clarity in values.
1 parent 090b07f commit 1d2da21

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
; CHECK: No contextual profile was provided
1313
;
1414
; This is the reference profile, laid out in the format the json formatter will
15-
; output it from opt.
15+
; output it from opt. Note that the root GUIDs - 12341 and 34234 - are different from
16+
; the GUID present in the module, which is otherwise present in the profile, but not
17+
; as a root.
1618
;--- profile.json
1719
[
1820
{
@@ -25,7 +27,7 @@
2527
"Counters": [
2628
5
2729
],
28-
"Guid": 12074870348631550642
30+
"Guid": 1000
2931
},
3032
{
3133
"Callsites": [
@@ -35,14 +37,14 @@
3537
6,
3638
7
3739
],
38-
"Guid": 728453322856651412
40+
"Guid": 1000
3941
}
4042
]
4143
],
4244
"Counters": [
4345
1
4446
],
45-
"Guid": 11872291593386833696
47+
"Guid": 34234
4648
}
4749
]
4850
;--- example.ll
@@ -60,4 +62,4 @@ no:
6062
}
6163

6264
attributes #0 = { noinline }
63-
!0 = !{ i64 1000 }
65+
!0 = !{ i64 1000 }

0 commit comments

Comments
 (0)