[llvm] f3e602a - [NFC] Adjust adjusted manual checklines in DebugInfo to be less sensitive to the Value name

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 09:29:13 PST 2022


Author: Roman Lebedev
Date: 2022-12-16T20:28:50+03:00
New Revision: f3e602a4701446310689ddf267c4b528fa429c00

URL: https://github.com/llvm/llvm-project/commit/f3e602a4701446310689ddf267c4b528fa429c00
DIFF: https://github.com/llvm/llvm-project/commit/f3e602a4701446310689ddf267c4b528fa429c00.diff

LOG: [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

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll

Removed: 
    


################################################################################
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 d57253bb1b63..49e08e02cdeb 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


        


More information about the llvm-commits mailing list