comparison llvm/test/Transforms/CodeGenPrepare/X86/section.ll @ 221:79ff65ed7e25

LLVM12 Original
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 15 Jun 2021 19:15:29 +0900
parents 0572611fdcc8
children 1f2b6ac9f198
comparison
equal deleted inserted replaced
220:42394fc6a535 221:79ff65ed7e25
64 define void @cold_func3() !prof !16 { 64 define void @cold_func3() !prof !16 {
65 call void @hot_func1(), !prof !18 65 call void @hot_func1(), !prof !18
66 ret void 66 ret void
67 } 67 }
68 68
69 ; CHECK: ![[HOT_ID]] = !{!"function_section_prefix", !".hot"} 69 ; CHECK: ![[HOT_ID]] = !{!"function_section_prefix", !"hot"}
70 ; CHECK: ![[COLD_ID]] = !{!"function_section_prefix", !".unlikely"} 70 ; CHECK: ![[COLD_ID]] = !{!"function_section_prefix", !"unlikely"}
71 !llvm.module.flags = !{!1} 71 !llvm.module.flags = !{!1}
72 !1 = !{i32 1, !"ProfileSummary", !2} 72 !1 = !{i32 1, !"ProfileSummary", !2}
73 !2 = !{!3, !4, !5, !6, !7, !8, !9, !10} 73 !2 = !{!3, !4, !5, !6, !7, !8, !9, !10}
74 !3 = !{!"ProfileFormat", !"InstrProf"} 74 !3 = !{!"ProfileFormat", !"InstrProf"}
75 !4 = !{!"TotalCount", i64 10000} 75 !4 = !{!"TotalCount", i64 10000}