[llvm] [profcheck] Add unknown branch weights for inlined strcmp/strncmp (PR #160455)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 10:28:28 PDT 2025


================
@@ -5,22 +5,23 @@
 
 @.str = constant [3 x i8] c"-h\00"
 
-define i32 @main() {
-; CHECK-LABEL: define i32 @main() {
+define i32 @main() !prof !8{
----------------
mtrofin wrote:

nit: place a space after `!8`

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


More information about the llvm-commits mailing list