1; RUN: llc -mtriple=aarch64 -O1 -opt-bisect-limit=2 -o - %s 2> /dev/null | FileCheck %s 2; RUN: llc --preserve-input-debuginfo-format=true -mtriple=aarch64 -O1 -opt-bisect-limit=2 -o - %s 2> /dev/null | FileCheck %s 3 4define dso_local i32 @a() #0 !dbg !7 { 5entry: 6; CHECK: b .LBB0_1 7; CHECK: .LBB0_1: 8 call void @llvm.dbg.value(metadata i32 0, metadata !12, metadata !DIExpression()), !dbg !13 9 br label %for.cond, !dbg !14 10 11; CHECK: b .LBB0_1 12; CHECK: .Lfunc_end0: 13for.cond: 14 br label %for.cond, !dbg !15, !llvm.loop !18 15} 16declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 17 18declare void @llvm.dbg.value(metadata, metadata, metadata) #2 19 20!llvm.dbg.cu = !{!0} 21!llvm.module.flags = !{!3, !4, !5} 22!llvm.ident = !{!6} 23 24!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, nameTableKind: None) 25!1 = !DIFile(filename: "fast-isel-branch-uncond-debug.ll", directory: "/tmp") 26!2 = !{} 27!3 = !{i32 2, !"Dwarf Version", i32 4} 28!4 = !{i32 2, !"Debug Info Version", i32 3} 29!5 = !{i32 1, !"wchar_size", i32 4} 30!6 = !{!""} 31!7 = distinct !DISubprogram(name: "a", scope: !1, file: !1, line: 1, type: !8, scopeLine: 1, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !11) 32!8 = !DISubroutineType(types: !9) 33!9 = !{!10} 34!10 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) 35!11 = !{!12} 36!12 = !DILocalVariable(name: "b", scope: !7, file: !1, line: 2, type: !10) 37!13 = !DILocation(line: 0, scope: !7) 38!14 = !DILocation(line: 3, column: 3, scope: !7) 39!15 = !DILocation(line: 3, column: 3, scope: !16) 40!16 = distinct !DILexicalBlock(scope: !17, file: !1, line: 3, column: 3) 41!17 = distinct !DILexicalBlock(scope: !7, file: !1, line: 3, column: 3) 42!18 = distinct !{!18, !19, !20} 43!19 = !DILocation(line: 3, column: 3, scope: !17) 44!20 = !DILocation(line: 4, column: 5, scope: !17) 45 46