================
@@ -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.
----------------
NewSigma wrote:
These comments are misplaced, and this change doesn't look PGO-related. We can
fix the test by just replacing `!38` with `!{{[0-9]+}}` — no need for all these
extra lines.
https://github.com/llvm/llvm-project/pull/184466
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits