From f3e602a4701446310689ddf267c4b528fa429c00 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Fri, 16 Dec 2022 20:28:08 +0300 Subject: [PATCH] [NFC] Adjust adjusted manual checklines in DebugInfo to be less sensitive to the Value name The test was passing for me locally, but fails on bots: https://lab.llvm.org/buildbot/#/builders/98/builds/29290/steps/10/logs/stdio --- llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll index d57253b..49e08e0 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll @@ -26,8 +26,8 @@ ;; dbg.assign/DIExpression. Ensure that only the value-expression gets fragment ;; info; that the address-expression remains untouched. -; CHECK: %i.sroa.0.12..sroa_idx2 = getelementptr inbounds i8, ptr %i.sroa.0, i64 12, !dbg !64 -; CHECK-NEXT: store float %2, ptr %i.sroa.0.12..sroa_idx2, align 4, !dbg !64, !DIAssignID !66 +; CHECK: [[ADDR:%.*]] = getelementptr inbounds i8, ptr %i.sroa.0, i64 12, !dbg !64 +; CHECK-NEXT: store float %2, ptr [[ADDR]], align 4, !dbg !64, !DIAssignID !66 ;; There's a dbg intrinsics we're not interested in testing wedged in here. ; CHECK-NEXT: dbg.assign ; CHECK-NEXT: call void @llvm.dbg.assign(metadata float %2,{{.+}}, metadata !DIExpression(DW_OP_LLVM_fragment, 96, 32),{{.+}}, metadata ptr %i.sroa.0.12..sroa_idx2, metadata !DIExpression()), !dbg -- 2.7.4