diff options
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r-- | llvm/test/Transforms/GVN/load-pre-nonlocal.ll | 7 | ||||
-rw-r--r-- | llvm/test/Transforms/GVN/phi-translate.ll | 6 | ||||
-rw-r--r-- | llvm/test/Transforms/Inline/debug-invoke.ll | 8 | ||||
-rw-r--r-- | llvm/test/Transforms/LoopSimplify/dbg-loc.ll | 6 | ||||
-rw-r--r-- | llvm/test/Transforms/LoopSimplify/single-backedge.ll | 6 | ||||
-rw-r--r-- | llvm/test/Transforms/LoopUnroll/runtime-loop1.ll | 6 | ||||
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll | 6 | ||||
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/runtime-check.ll | 8 | ||||
-rw-r--r-- | llvm/test/Transforms/ObjCARC/basic.ll | 8 |
9 files changed, 60 insertions, 1 deletions
diff --git a/llvm/test/Transforms/GVN/load-pre-nonlocal.ll b/llvm/test/Transforms/GVN/load-pre-nonlocal.ll index e0e88665307..70bf49209dd 100644 --- a/llvm/test/Transforms/GVN/load-pre-nonlocal.ll +++ b/llvm/test/Transforms/GVN/load-pre-nonlocal.ll @@ -92,6 +92,7 @@ if.end: !6 = !{!"int", !3, i64 0} !llvm.module.flags = !{!7, !8, !9} +!llvm.dbg.cu = !{!18} !7 = !{i32 2, !"Dwarf Version", i32 4} !8 = !{i32 2, !"Debug Info Version", i32 3} !9 = !{i32 1, !"PIC Level", i32 2} @@ -104,4 +105,8 @@ if.end: !15 = !DILocation(line: 101, column: 1, scope: !13) !16 = !DILocation(line: 102, column: 1, scope: !13) !17 = !DILocation(line: 103, column: 1, scope: !13) - +!18 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !12, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!13}) diff --git a/llvm/test/Transforms/GVN/phi-translate.ll b/llvm/test/Transforms/GVN/phi-translate.ll index 67036ab9746..281e88f05b1 100644 --- a/llvm/test/Transforms/GVN/phi-translate.ll +++ b/llvm/test/Transforms/GVN/phi-translate.ll @@ -37,6 +37,7 @@ end: } !llvm.module.flags = !{!0, !1, !2} +!llvm.dbg.cu = !{!12} !0 = !{i32 2, !"Dwarf Version", i32 4} !1 = !{i32 2, !"Debug Info Version", i32 3} !2 = !{i32 1, !"PIC Level", i32 2} @@ -50,3 +51,8 @@ end: !9 = !DILocation(line: 45, column: 1, scope: !6) !10 = !DILocation(line: 46, column: 1, scope: !6) !11 = !DILocation(line: 47, column: 1, scope: !6) +!12 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !5, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!6}) diff --git a/llvm/test/Transforms/Inline/debug-invoke.ll b/llvm/test/Transforms/Inline/debug-invoke.ll index c547559d8c2..b1cb9ea5a3a 100644 --- a/llvm/test/Transforms/Inline/debug-invoke.ll +++ b/llvm/test/Transforms/Inline/debug-invoke.ll @@ -31,7 +31,15 @@ lpad: } !llvm.module.flags = !{!1} +!llvm.dbg.cu = !{!5} + !1 = !{i32 2, !"Debug Info Version", i32 3} !2 = distinct !DISubprogram() !3 = !DILocation(line: 1, scope: !2) !4 = !DILocation(line: 2, scope: !2) +!5 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !6, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!2}) +!6 = !DIFile(filename: "path/davidino", directory: "/path/to/dir") diff --git a/llvm/test/Transforms/LoopSimplify/dbg-loc.ll b/llvm/test/Transforms/LoopSimplify/dbg-loc.ll index b0e14bbcfd7..23a60481db6 100644 --- a/llvm/test/Transforms/LoopSimplify/dbg-loc.ll +++ b/llvm/test/Transforms/LoopSimplify/dbg-loc.ll @@ -73,6 +73,7 @@ eh.resume: ; preds = %catch ; CHECK-DAG: [[LPAD_PREHEADER_LOC]] = !DILocation(line: 85, column: 1, scope: !{{[0-9]+}}) !llvm.module.flags = !{!0, !1, !2} +!llvm.dbg.cu = !{!14} !0 = !{i32 2, !"Dwarf Version", i32 4} !1 = !{i32 2, !"Debug Info Version", i32 3} !2 = !{i32 1, !"PIC Level", i32 2} @@ -88,3 +89,8 @@ eh.resume: ; preds = %catch !11 = !DILocation(line: 73, column: 46, scope: !6) !12 = !DILocation(line: 75, column: 9, scope: !6) !13 = !DILocation(line: 85, column: 1, scope: !6) +!14 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !5, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!6}) diff --git a/llvm/test/Transforms/LoopSimplify/single-backedge.ll b/llvm/test/Transforms/LoopSimplify/single-backedge.ll index 6f3db8fb14f..40e903ea570 100644 --- a/llvm/test/Transforms/LoopSimplify/single-backedge.ll +++ b/llvm/test/Transforms/LoopSimplify/single-backedge.ll @@ -24,6 +24,7 @@ BE2: ; preds = %n br label %Loop } !llvm.module.flags = !{!0, !1} +!llvm.dbg.cu = !{!12} !0 = !{i32 2, !"Dwarf Version", i32 4} !1 = !{i32 2, !"Debug Info Version", i32 3} @@ -37,3 +38,8 @@ BE2: ; preds = %n br label %Loop !9 = !DILocation(line: 103, column: 1, scope: !5) !10 = !DILocation(line: 104, column: 1, scope: !5) !11 = !DILocation(line: 105, column: 1, scope: !5) +!12 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !4, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!5}) diff --git a/llvm/test/Transforms/LoopUnroll/runtime-loop1.ll b/llvm/test/Transforms/LoopUnroll/runtime-loop1.ll index b8ab3ca60c1..a5dfb553f5e 100644 --- a/llvm/test/Transforms/LoopUnroll/runtime-loop1.ll +++ b/llvm/test/Transforms/LoopUnroll/runtime-loop1.ll @@ -53,6 +53,7 @@ for.end: ; preds = %for.body, %entry } !llvm.module.flags = !{!0, !1, !2} +!llvm.dbg.cu = !{!11} !0 = !{i32 2, !"Dwarf Version", i32 4} !1 = !{i32 2, !"Debug Info Version", i32 3} !2 = !{i32 1, !"PIC Level", i32 2} @@ -65,3 +66,8 @@ for.end: ; preds = %for.body, %entry !8 = !DILocation(line: 101, column: 1, scope: !6) !9 = !DILocation(line: 102, column: 1, scope: !6) !10 = !DILocation(line: 103, column: 1, scope: !6) +!11 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !5, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!6}) diff --git a/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll b/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll index 0bb78ce177f..eee6dd83788 100644 --- a/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll +++ b/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll @@ -71,6 +71,7 @@ for.body: ; preds = %for.body.preheader, attributes #0 = { nounwind } +!llvm.dbg.cu = !{!28} !llvm.module.flags = !{!0, !1} !llvm.ident = !{!2} @@ -102,3 +103,8 @@ attributes #0 = { nounwind } !25 = !DILocation(line: 17, column: 11, scope: !20) !26 = distinct !{!26, !27, !18} !27 = !{!"llvm.loop.vectorize.enable", i1 true} +!28 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !5, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!4, !20}) diff --git a/llvm/test/Transforms/LoopVectorize/runtime-check.ll b/llvm/test/Transforms/LoopVectorize/runtime-check.ll index 3673b71db30..02751e4b25c 100644 --- a/llvm/test/Transforms/LoopVectorize/runtime-check.ll +++ b/llvm/test/Transforms/LoopVectorize/runtime-check.ll @@ -67,6 +67,7 @@ loopexit: ; CHECK: [[BODY_LOC]] = !DILocation(line: 101, column: 1, scope: !{{.*}}) !llvm.module.flags = !{!0, !1} +!llvm.dbg.cu = !{!9} !0 = !{i32 2, !"Dwarf Version", i32 4} !1 = !{i32 2, !"Debug Info Version", i32 3} @@ -77,3 +78,10 @@ loopexit: !6 = !DILocation(line: 100, column: 1, scope: !5) !7 = !DILocation(line: 101, column: 1, scope: !5) !8 = !DILocation(line: 102, column: 1, scope: !5) +!9 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !10, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!5}) +!10 = !DIFile(filename: "path/to/file", directory: "/path/to/dir") +!11 = !{i32 2, !"Debug Info Version", i32 3} diff --git a/llvm/test/Transforms/ObjCARC/basic.ll b/llvm/test/Transforms/ObjCARC/basic.ll index a6fdf5efa1a..61f027c6790 100644 --- a/llvm/test/Transforms/ObjCARC/basic.ll +++ b/llvm/test/Transforms/ObjCARC/basic.ll @@ -3037,10 +3037,18 @@ define void @test67(i8* %x) { } !llvm.module.flags = !{!1} +!llvm.dbg.cu = !{!3} !0 = !{} !1 = !{i32 1, !"Debug Info Version", i32 3} !2 = distinct !DISubprogram() +!3 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", + file: !4, + isOptimized: true, flags: "-O2", + splitDebugFilename: "abc.debug", emissionKind: 2, + subprograms: !{!2}) +!4 = !DIFile(filename: "path/to/file", directory: "/path/to/dir") +!5 = !{i32 2, !"Debug Info Version", i32 3} ; CHECK: attributes #0 = { nounwind readnone } ; CHECK: attributes [[NUW]] = { nounwind } |