1 ; RUN: opt -licm -basicaa < %s -S | FileCheck %s
3 define void @dgefa() nounwind ssp {
7 for.body: ; preds = %for.cond.backedge, %entry
8 br i1 undef, label %if.then, label %for.cond.backedge, !dbg !11
10 for.cond.backedge: ; preds = %for.body61, %for.body61.us, %for.body
11 br i1 undef, label %for.end104, label %for.body, !dbg !15
13 if.then: ; preds = %for.body
14 br i1 undef, label %if.then27, label %if.end.if.end.split_crit_edge.critedge, !dbg !16
16 if.then27: ; preds = %if.then
17 ; CHECK: tail call void @llvm.dbg.value
18 tail call void @llvm.dbg.value(metadata double undef, i64 0, metadata !19, metadata !{}), !dbg !21
19 br label %for.body61.us
21 if.end.if.end.split_crit_edge.critedge: ; preds = %if.then
24 for.body61.us: ; preds = %for.body61.us, %if.then27
25 br i1 undef, label %for.cond.backedge, label %for.body61.us, !dbg !23
27 for.body61: ; preds = %for.body61, %if.end.if.end.split_crit_edge.critedge
28 br i1 undef, label %for.cond.backedge, label %for.body61, !dbg !23
30 for.end104: ; preds = %for.cond.backedge
34 declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
36 !llvm.module.flags = !{!26}
37 !llvm.dbg.sp = !{!0, !6, !9, !10}
39 !0 = !{!"0x2e\00idamax\00idamax\00\00112\000\001\000\006\00256\000\000", !25, !1, !3, i32 0, null, null, null, null} ; [ DW_TAG_subprogram ]
40 !1 = !{!"0x29", !25} ; [ DW_TAG_file_type ]
41 !2 = !{!"0x11\0012\00clang version 2.9 (trunk 127169)\001\00\000\00\000", !25, !8, !8, !8, null, null} ; [ DW_TAG_compile_unit ]
42 !3 = !{!"0x15\00\000\000\000\000\000\000", !25, !1, null, !4, i32 0} ; [ DW_TAG_subroutine_type ]
44 !5 = !{!"0x24\00int\000\0032\0032\000\000\005", null, !2} ; [ DW_TAG_base_type ]
45 !6 = !{!"0x2e\00dscal\00dscal\00\00206\000\001\000\006\00256\000\000", !25, !1, !7, i32 0, null, null, null, null} ; [ DW_TAG_subprogram ]
46 !7 = !{!"0x15\00\000\000\000\000\000\000", !25, !1, null, !8, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
48 !9 = !{!"0x2e\00daxpy\00daxpy\00\00230\000\001\000\006\00256\000\000", !25, !1, !7, i32 0, null, null, null, null} ; [ DW_TAG_subprogram ]
49 !10 = !{!"0x2e\00dgefa\00dgefa\00\00267\000\001\000\006\00256\000\000", !25, !1, !7, null, null, null, null, null} ; [ DW_TAG_subprogram ] [line 267] [def] [scope 0] [dgefa]
50 !11 = !MDLocation(line: 281, column: 9, scope: !12)
51 !12 = !{!"0xb\00272\005\0032", !25, !13} ; [ DW_TAG_lexical_block ]
52 !13 = !{!"0xb\00271\005\0031", !25, !14} ; [ DW_TAG_lexical_block ]
53 !14 = !{!"0xb\00267\001\0030", !25, !10} ; [ DW_TAG_lexical_block ]
54 !15 = !MDLocation(line: 271, column: 5, scope: !14)
55 !16 = !MDLocation(line: 284, column: 10, scope: !17)
56 !17 = !{!"0xb\00282\009\0033", !25, !12} ; [ DW_TAG_lexical_block ]
58 !19 = !{!"0x100\00temp\00268\000", !14, !1, !20} ; [ DW_TAG_auto_variable ]
59 !20 = !{!"0x24\00double\000\0064\0064\000\000\004", null, !2} ; [ DW_TAG_base_type ]
60 !21 = !MDLocation(line: 286, column: 14, scope: !22)
61 !22 = !{!"0xb\00285\0013\0034", !25, !17} ; [ DW_TAG_lexical_block ]
62 !23 = !MDLocation(line: 296, column: 13, scope: !17)
63 !24 = !MDLocation(line: 313, column: 1, scope: !14)
64 !25 = !{!"/Volumes/Lalgate/work/llvm/projects/llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c", !"/private/tmp"}
65 !26 = !{i32 1, !"Debug Info Version", i32 2}