[llvm] [StandardInstrumentation] Annotate loops with the function name (PR #90756)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu May 2 16:31:14 PDT 2024
================
@@ -42,29 +42,29 @@ l0.0.1.ph:
l0.0.1:
%cond.0.0.1 = load volatile i1, ptr %ptr
br i1 %cond.0.0.1, label %l0.0.1, label %l0.0.latch
-; CHECK: LoopFullUnrollPass on l0.0.1
+; CHECK: LoopFullUnrollPass on loop %l0.0.1
; CHECK-NOT: LoopFullUnrollPass
l0.0.latch:
%cmp = icmp slt i32 %iv.next, 2
br i1 %cmp, label %l0.0, label %l0.latch
-; CHECK: LoopFullUnrollPass on l0.0
+; CHECK: LoopFullUnrollPass on loop %l0.0
----------------
aeubanks wrote:
the CHECK line isn't consistent with the ones you added below with the function name, I'd either keep everything without or with the function name in the CHECK
https://github.com/llvm/llvm-project/pull/90756
More information about the llvm-commits
mailing list