[llvm] [profcheck] Fix profile metadata in IntegerDivision/ExpandIRinsts (PR #173114)
Jin Huang via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 21 20:40:38 PST 2025
================
@@ -68,3 +69,8 @@ define void @test(ptr %ptr, ptr %out) nounwind {
store i129 %res, ptr %out
ret void
}
+
+!0 = !{!"function_entry_count", i64 1000}
+; CHECK: [[PROF_0]] = !{!"function_entry_count", i64 1000}
+; CHECK: [[PROF_1]] = !{!"branch_weights", i32 1, i32 1048575}
+; CHECK: [[PROF_2]] = !{!"unknown", !"integer-division"}
----------------
jinhuang1102 wrote:
Thx!
https://github.com/llvm/llvm-project/pull/173114
More information about the llvm-commits
mailing list