[llvm] [SimplifyCFG][PGO] Reuse existing `setBranchWeights` (PR #160629)

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 30 13:02:03 PDT 2025


================
@@ -209,10 +209,10 @@ loop_exit:
 
 ; IR-LABEL: define void @func5_zero_branch_weight
 ; IR: entry:
-; IR:   br i1 %cmp1, label %loop_exit, label %loop_body.lr.ph, !prof [[PROF_FUNC5_0:![0-9]+]]
+; IR:   br i1 %cmp1, label %loop_exit, label %loop_body.lr.ph
----------------
MatzeB wrote:

Mostly wanted to hear opinions/discussion, but I guess we can land as-is for now...

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


More information about the llvm-commits mailing list