File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
llvm/test/Transforms/PGOProfile Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ define dso_local ptr @_Z3foov() !dbg !5 {
6262; CHECK-LABEL: @_Z3foov()
6363entry:
6464 %call = call ptr @_Znam(i64 4) #1, !dbg !8
65- ; CHECK: call ptr @_Znam(i64 4) #[[ATTR_COLD :[0-9]+]]
65+ ; CHECK: call ptr @_Znam(i64 4) #[[ATTR :[0-9]+]]
6666 ret ptr %call, !dbg !9
6767}
6868
@@ -139,6 +139,8 @@ attributes #1 = { builtin allocsize(0) }
139139!25 = distinct !DILocation(line: 62, column: 22, scope: !22)
140140!26 = !DILocation(line: 62, column: 15, scope: !22)
141141
142+ ; CHECK: attributes #[[ATTR]] = { builtin allocsize(0) "memprof"="cold" }
143+
142144; CHECK: ![[M1]] = !{![[M1L:[0-9]+]], ![[M1R:[0-9]+]]}
143145; CHECK: ![[M1L]] = !{![[M1LL:[0-9]+]], !"cold"}
144146; CHECK: ![[M1LL]] = !{i64 -7165227774426488445, i64 6179674587295384169, i64 7749555980993309703}
You can’t perform that action at this time.
0 commit comments