[llvm] [profcheck] Fix profile metadata in IntegerDivision/ExpandIRinsts (PR #173114)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 31 20:51:24 PST 2025


================
@@ -75,3 +76,8 @@ define void @sdiv129(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"}
----------------
boomanaiden154 wrote:

Nit: missing newline

https://github.com/llvm/llvm-project/pull/173114


More information about the llvm-commits mailing list