[llvm] [profcheck] Add unknown branch weight for inlined memchr calls. (PR #160964)
Alan Zhao via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 16:55:35 PDT 2025
================
@@ -174,3 +183,7 @@ entry:
%memchr = call ptr @memchr(ptr @str, i32 %x, i64 %len)
ret ptr %memchr
}
+
+!0 = !{!"function_entry_count", i64 1000}
+; CHECK: [[PROF_0]] = !{!"function_entry_count", i64 1000}
+; CHECK: [[PROF_1]] = !{!"unknown", !"aggressive-instcombine"}
----------------
alanzhao1 wrote:
nit: missing EOF line.
https://github.com/llvm/llvm-project/pull/160964
More information about the llvm-commits
mailing list