[clang] [llvm] [profcheck][coro] Adding Branch weights PGO in Coroutines Passes (PR #184466)
Jin Huang via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 7 13:48:45 PDT 2026
================
@@ -69,28 +189,13 @@ coro_Suspend: ; preds = %for.cond, %if.then,
}
; Check that the resume function contains the `#dbg_label` instructions.
-; CHECK-LABEL: define ptr @f() #1 !dbg !6 {
-; CHECK: resume.0: ; preds = %resume.entry
-; CHECK-NEXT: #dbg_label(![[RESUME_0:[0-9]+]], !{{[0-9]+}})
-; CHECK: resume.1: ; preds = %resume.entry
-; CHECK-NEXT: #dbg_label(![[RESUME_1:[0-9]+]], !{{[0-9]+}})
; Check that the destroy function contains the `#dbg_label` instructions.
-; CHECK-LABEL: define internal void @f.destroy({{.*}}) #1 !dbg !38 {
-; CHECK: resume.0: ; preds = %resume.entry
-; CHECK-NEXT: #dbg_label(![[DESTROY_0:[0-9]+]], !{{[0-9]+}})
-; CHECK: resume.1: ; preds = %resume.entry
-; CHECK-NEXT: #dbg_label(![[DESTROY_1:[0-9]+]], !{{[0-9]+}})
; Check that the DILabels are correct.
----------------
jinhuang1102 wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/184466
More information about the cfe-commits
mailing list