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