[polly] r231089 - Update Polly tests for the great metadata schema change

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Mar 3 10:31:44 PST 2015


Thanks David!  You're faster than the bots :).

> On 2015-Mar-03, at 10:17, David Blaikie <dblaikie at gmail.com> wrote:
> 
> Author: dblaikie
> Date: Tue Mar  3 12:17:26 2015
> New Revision: 231089
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=231089&view=rev
> Log:
> Update Polly tests for the great metadata schema change
> 
> Modified:
>    polly/trunk/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
>    polly/trunk/test/Isl/CodeGen/debug-intrinsics.ll
>    polly/trunk/test/ScopDetect/report-scop-location.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll
>    polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
> 
> Modified: polly/trunk/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll (original)
> +++ polly/trunk/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll Tue Mar  3 12:17:26 2015
> @@ -36,36 +36,36 @@ declare void @llvm.dbg.value(metadata, i
> !llvm.module.flags = !{!15, !16}
> !llvm.ident = !{!17}
> 
> -!0 = !{!"0x11\0012\00clang version 3.6.0 \001\00\000\00\001", !1, !2, !2, !3, !12, !2} ; [ DW_TAG_compile_unit ] [/local/mnt/workspace/build/tip-Release/t2.c] [DW_LANG_C99]
> -!1 = !{!"t2.c", !"/local/mnt/workspace/build/tip-Release"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.6.0 ", isOptimized: true, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !12, imports: !2)
> +!1 = !MDFile(filename: "t2.c", directory: "/local/mnt/workspace/build/tip-Release")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00foo\00foo\00\003\000\001\000\000\000\001\003", !1, !5, !6, null, void ()* @foo, null, null, !8} ; [ DW_TAG_subprogram ] [line 3] [def] [foo]
> -!5 = !{!"0x29", !1}    ; [ DW_TAG_file_type ] [/local/mnt/workspace/build/tip-Release/t2.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", null, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "foo", line: 3, isLocal: false, isDefinition: true, isOptimized: true, scopeLine: 3, file: !1, scope: !5, type: !6, function: void ()* @foo, variables: !8)
> +!5 = !MDFile(filename: "t2.c", directory: "/local/mnt/workspace/build/tip-Release")
> +!6 = !MDSubroutineType(types: !7)
> !7 = !{null}
> !8 = !{!9}
> -!9 = !{!"0x100\00i\004\000", !10, !5, !11} ; [ DW_TAG_auto_variable ] [i] [line 4]
> -!10 = !{!"0xb\004\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [/local/mnt/workspace/build/tip-Release/t2.c]
> -!11 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
> +!9 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 4, scope: !10, file: !5, type: !11)
> +!10 = distinct !MDLexicalBlock(line: 4, column: 3, file: !1, scope: !4)
> +!11 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
> !12 = !{!13}
> -!13 = !{!"0x34\00A\00A\00\002\000\001", null, !5, !14, i32** @A, null} ; [ DW_TAG_variable ] [A] [line 2] [def]
> -!14 = !{!"0xf\00\000\0064\0064\000\000", null, null, !11} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from int]
> +!13 = !MDGlobalVariable(name: "A", line: 2, isLocal: false, isDefinition: true, scope: null, file: !5, type: !14, variable: i32** @A)
> +!14 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !11)
> !15 = !{i32 2, !"Dwarf Version", i32 4}
> -!16 = !{i32 2, !"Debug Info Version", i32 2}
> +!16 = !{i32 2, !"Debug Info Version", i32 3}
> !17 = !{!"clang version 3.6.0 "}
> !18 = !{i32 0}
> -!19 = !{!"0x102"}               ; [ DW_TAG_expression ]
> +!19 = !MDExpression()
> !20 = !MDLocation(line: 4, column: 12, scope: !10)
> !21 = !MDLocation(line: 5, column: 5, scope: !22)
> -!22 = !{!"0xb\004\003\001", !1, !10} ; [ DW_TAG_lexical_block ] [/local/mnt/workspace/build/tip-Release/t2.c]
> +!22 = distinct !MDLexicalBlock(line: 4, column: 3, file: !1, scope: !10)
> !23 = !{!24, !24, i64 0}
> !24 = !{!"any pointer", !25, i64 0}
> !25 = !{!"omnipotent char", !26, i64 0}
> !26 = !{!"Simple C/C++ TBAA"}
> !27 = !MDLocation(line: 4, column: 3, scope: !28)
> -!28 = !{!"0xb\002", !1, !29} ; [ DW_TAG_lexical_block ] [/local/mnt/workspace/build/tip-Release/t2.c]
> -!29 = !{!"0xb\001", !1, !22} ; [ DW_TAG_lexical_block ] [/local/mnt/workspace/build/tip-Release/t2.c]
> +!28 = !MDLexicalBlockFile(discriminator: 2, file: !1, scope: !29)
> +!29 = !MDLexicalBlockFile(discriminator: 1, file: !1, scope: !22)
> !30 = !{!31, !31, i64 0}
> !31 = !{!"int", !25, i64 0}
> !32 = !MDLocation(line: 6, column: 1, scope: !4)
> 
> Modified: polly/trunk/test/Isl/CodeGen/debug-intrinsics.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/debug-intrinsics.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/Isl/CodeGen/debug-intrinsics.ll (original)
> +++ polly/trunk/test/Isl/CodeGen/debug-intrinsics.ll Tue Mar  3 12:17:26 2015
> @@ -8,9 +8,9 @@ entry:
>   br label %entry.split
> 
> entry.split:                                      ; preds = %entry
> -  tail call void @llvm.dbg.value(metadata float* %A, i64 0, metadata !14, metadata !{!"0x102"}), !dbg !15
> -  tail call void @llvm.dbg.value(metadata i64 %N, i64 0, metadata !16, metadata !{!"0x102"}), !dbg !15
> -  tail call void @llvm.dbg.value(metadata i64 0, i64 0, metadata !18, metadata !{!"0x102"}), !dbg !20
> +  tail call void @llvm.dbg.value(metadata float* %A, i64 0, metadata !14, metadata !MDExpression()), !dbg !15
> +  tail call void @llvm.dbg.value(metadata i64 %N, i64 0, metadata !16, metadata !MDExpression()), !dbg !15
> +  tail call void @llvm.dbg.value(metadata i64 0, i64 0, metadata !18, metadata !MDExpression()), !dbg !20
>   %cmp1 = icmp sgt i64 %N, 0, !dbg !20
>   br i1 %cmp1, label %for.body.lr.ph, label %for.end, !dbg !20
> 
> @@ -23,7 +23,7 @@ for.body:
>   %conv = sitofp i64 %0 to float, !dbg !21
>   store float %conv, float* %arrayidx, align 4, !dbg !21
>   %1 = add nsw i64 %0, 1, !dbg !20
> -  tail call void @llvm.dbg.value(metadata i64 %1, i64 0, metadata !18, metadata !{!"0x102"}), !dbg !20
> +  tail call void @llvm.dbg.value(metadata i64 %1, i64 0, metadata !18, metadata !MDExpression()), !dbg !20
>   %exitcond = icmp ne i64 %1, %N, !dbg !20
>   br i1 %exitcond, label %for.body, label %for.cond.for.end_crit_edge, !dbg !20
> 
> @@ -55,26 +55,26 @@ attributes #1 = { nounwind readnone }
> !llvm.module.flags = !{!11, !12}
> !llvm.ident = !{!13}
> 
> -!0 = !{!"0x11\0012\00clang version 3.5 \000\00\000\00\000", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/home/grosser/Projects/polly/git/tools/polly/loop.c] [DW_LANG_C99]
> -!1 = !{!"loop.c", !"/home/grosser/Projects/polly/git/tools/polly"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 ", isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "loop.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00foo\00foo\00\001\000\001\000\006\00256\000\001", !1, !5, !6, null, void (float*, i64)* @foo, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [foo]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [/home/grosser/Projects/polly/git/tools/polly/loop.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void (float*, i64)* @foo, variables: !2)
> +!5 = !MDFile(filename: "loop.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
> +!6 = !MDSubroutineType(types: !7)
> !7 = !{null, !8, !10}
> -!8 = !{!"0xf\00\000\0064\0064\000\000", null, null, !9} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from float]
> -!9 = !{!"0x24\00float\000\0032\0032\000\000\004", null, null} ; [ DW_TAG_base_type ] [float] [line 0, size 32, align 32, offset 0, enc DW_ATE_float]
> -!10 = !{!"0x24\00long int\000\0064\0064\000\000\005", null, null} ; [ DW_TAG_base_type ] [long int] [line 0, size 64, align 64, offset 0, enc DW_ATE_signed]
> +!8 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !9)
> +!9 = !MDBasicType(tag: DW_TAG_base_type, name: "float", size: 32, align: 32, encoding: DW_ATE_float)
> +!10 = !MDBasicType(tag: DW_TAG_base_type, name: "long int", size: 64, align: 64, encoding: DW_ATE_signed)
> !11 = !{i32 2, !"Dwarf Version", i32 4}
> -!12 = !{i32 1, !"Debug Info Version", i32 2}
> +!12 = !{i32 1, !"Debug Info Version", i32 3}
> !13 = !{!"clang version 3.5 "}
> -!14 = !{!"0x101\00A\0016777217\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [A] [line 1]
> +!14 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "A", line: 1, arg: 1, scope: !4, file: !5, type: !8)
> !15 = !MDLocation(line: 1, scope: !4)
> -!16 = !{!"0x101\00N\0033554433\000", !4, !5, !10} ; [ DW_TAG_arg_variable ] [N] [line 1]
> +!16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "N", line: 1, arg: 2, scope: !4, file: !5, type: !10)
> !17 = !{i64 0}
> -!18 = !{!"0x100\00i\002\000", !19, !5, !10} ; [ DW_TAG_auto_variable ] [i] [line 2]
> -!19 = !{!"0xb\002\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/loop.c]
> +!18 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 2, scope: !19, file: !5, type: !10)
> +!19 = distinct !MDLexicalBlock(line: 2, column: 0, file: !1, scope: !4)
> !20 = !MDLocation(line: 2, scope: !19)
> !21 = !MDLocation(line: 3, scope: !19)
> !22 = !MDLocation(line: 4, scope: !4)
> 
> Modified: polly/trunk/test/ScopDetect/report-scop-location.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetect/report-scop-location.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetect/report-scop-location.ll (original)
> +++ polly/trunk/test/ScopDetect/report-scop-location.ll Tue Mar  3 12:17:26 2015
> @@ -60,23 +60,23 @@ attributes #0 = { nounwind uwtable "less
> !llvm.module.flags = !{!8, !9}
> !llvm.ident = !{!10}
> 
> -!0 = !{!"0x11\0012\00clang version 3.5 \000\00\000\00\000", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/home/grosser/Projects/polly/git/tools/polly/test.c] [DW_LANG_C99]
> -!1 = !{!"test.c", !"/home/grosser/Projects/polly/git/tools/polly"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 ", isOptimized: false, emissionKind: 0, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
> !2 = !{i32 0}
> !3 = !{!4, !7}
> -!4 = !{!"0x2e\00foo\00foo\00\001\000\001\000\006\00256\000\001", !1, !5, !6, null, void (float*)* @foo, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [foo]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [/home/grosser/Projects/polly/git/tools/polly/test.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !2, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> -!7 = !{!"0x2e\00bar\00bar\00\006\000\001\000\006\00256\000\006", !1, !5, !6, null, void (float*)* @bar, null, null, !2} ; [ DW_TAG_subprogram ] [line 6] [def] [bar]
> +!4 = !MDSubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void (float*)* @foo, variables: !2)
> +!5 = !MDFile(filename: "test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
> +!6 = !MDSubroutineType(types: !2)
> +!7 = !MDSubprogram(name: "bar", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 6, file: !1, scope: !5, type: !6, function: void (float*)* @bar, variables: !2)
> !8 = !{i32 2, !"Dwarf Version", i32 4}
> -!9 = !{i32 1, !"Debug Info Version", i32 2}
> +!9 = !{i32 1, !"Debug Info Version", i32 3}
> !10 = !{!"clang version 3.5 "}
> !11 = !MDLocation(line: 2, scope: !12)
> -!12 = !{!"0xb\002\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test.c]
> +!12 = distinct !MDLexicalBlock(line: 2, column: 0, file: !1, scope: !4)
> !13 = !MDLocation(line: 3, scope: !12)
> !14 = !MDLocation(line: 4, scope: !4)
> !15 = !MDLocation(line: 9, scope: !16)
> -!16 = !{!"0xb\009\000\001", !1, !7} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test.c]
> +!16 = distinct !MDLexicalBlock(line: 9, column: 0, file: !1, scope: !7)
> !17 = !MDLocation(line: 13, scope: !16)
> !18 = !MDLocation(line: 14, scope: !7)
> 
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll Tue Mar  3 12:17:26 2015
> @@ -44,26 +44,26 @@ declare void @llvm.dbg.value(metadata, i
> !llvm.module.flags = !{!10, !11}
> !llvm.ident = !{!12}
> 
> -!0 = !{!"0x11\0012\00clang version 3.6.0 \000\00\000\00\001", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [test/ScopDetectionDiagnostic/ReportAlias-01.c] [DW_LANG_C99]
> -!1 = !{!"ReportAlias-01.c", !"test/ScopDetectionDiagnostic/"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.6.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "ReportAlias-01.c", directory: "test/ScopDetectionDiagnostic/")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00f\00f\00\001\000\001\000\006\00256\000\001", !1, !5, !6, null, void (i32*, i32*)* @f, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [f]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [test/ScopDetectionDiagnostic/ReportAlias-01.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void (i32*, i32*)* @f, variables: !2)
> +!5 = !MDFile(filename: "ReportAlias-01.c", directory: "test/ScopDetectionDiagnostic/")
> +!6 = !MDSubroutineType(types: !7)
> !7 = !{null, !8, !8}
> -!8 = !{!"0xf\00\000\0064\0064\000\000", null, null, !9} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from int]
> -!9 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
> +!8 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !9)
> +!9 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
> !10 = !{i32 2, !"Dwarf Version", i32 4}
> -!11 = !{i32 2, !"Debug Info Version", i32 2}
> +!11 = !{i32 2, !"Debug Info Version", i32 3}
> !12 = !{!"clang version 3.6.0 "}
> -!13 = !{!"0x101\00A\0016777217\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [A] [line 1]
> +!13 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "A", line: 1, arg: 1, scope: !4, file: !5, type: !8)
> !14 = !MDLocation(line: 1, column: 12, scope: !4)
> -!15 = !{!"0x101\00B\0033554433\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [B] [line 1]
> +!15 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "B", line: 1, arg: 2, scope: !4, file: !5, type: !8)
> !16 = !MDLocation(line: 1, column: 21, scope: !4)
> !17 = !{i32 0}
> -!18 = !{!"0x100\00i\002\000", !19, !5, !9} ; [ DW_TAG_auto_variable ] [i] [line 2]
> -!19 = !{!"0xb\002\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [test/ScopDetectionDiagnostic/ReportAlias-01.c]
> +!18 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 2, scope: !19, file: !5, type: !9)
> +!19 = distinct !MDLexicalBlock(line: 2, column: 3, file: !1, scope: !4)
> !20 = !MDLocation(line: 2, column: 12, scope: !19)
> !21 = !MDLocation(line: 2, column: 8, scope: !19)
> !22 = !MDLocation(line: 3, column: 5, scope: !19)
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll Tue Mar  3 12:17:26 2015
> @@ -39,21 +39,21 @@ for.end:
> !llvm.module.flags = !{!7, !8}
> !llvm.ident = !{!9}
> 
> -!0 = !{!"0x11\0012\00clang version 3.6.0 \001\00\000\00\002", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics//tmp/test.c] [DW_LANG_C99]
> -!1 = !{!"/tmp/test.c", !"/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.6.0 ", isOptimized: true, emissionKind: 2, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00differenttypes\00differenttypes\00\001\000\001\000\006\00256\001\002", !1, !5, !6, null, void (i8*)* @differenttypes, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [scope 2] [differenttypes]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics//tmp/test.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !2, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "differenttypes", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 2, file: !1, scope: !5, type: !6, function: void (i8*)* @differenttypes, variables: !2)
> +!5 = !MDFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics")
> +!6 = !MDSubroutineType(types: !2)
> !7 = !{i32 2, !"Dwarf Version", i32 4}
> -!8 = !{i32 2, !"Debug Info Version", i32 2}
> +!8 = !{i32 2, !"Debug Info Version", i32 3}
> !9 = !{!"clang version 3.6.0 "}
> !10 = !MDLocation(line: 3, column: 20, scope: !11)
> -!11 = !{!"0xb\002", !1, !12} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics//tmp/test.c]
> -!12 = !{!"0xb\001", !1, !13} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics//tmp/test.c]
> -!13 = !{!"0xb\003\003\001", !1, !14} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics//tmp/test.c]
> -!14 = !{!"0xb\003\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics//tmp/test.c]
> +!11 = !MDLexicalBlockFile(discriminator: 2, file: !1, scope: !12)
> +!12 = !MDLexicalBlockFile(discriminator: 1, file: !1, scope: !13)
> +!13 = distinct !MDLexicalBlock(line: 3, column: 3, file: !1, scope: !14)
> +!14 = distinct !MDLexicalBlock(line: 3, column: 3, file: !1, scope: !4)
> !15 = !MDLocation(line: 4, column: 32, scope: !13)
> !16 = !MDLocation(line: 4, column: 22, scope: !13)
> !17 = !MDLocation(line: 4, column: 14, scope: !13)
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll Tue Mar  3 12:17:26 2015
> @@ -46,20 +46,20 @@ declare double @invalidCall(double*) #1
> !llvm.module.flags = !{!7, !8}
> !llvm.ident = !{!9}
> 
> -!0 = !{!"0x11\0012\00clang version 3.5.0 \001\00\000\00\002", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics/ReportFuncCall.c] [DW_LANG_C99]
> -!1 = !{!"ReportFuncCall.c", !"/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5.0 ", isOptimized: true, emissionKind: 2, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "ReportFuncCall.c", directory: "/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00a\00a\00\003\000\001\000\006\00256\001\003", !1, !5, !6, null, void (double*, i32)* @a, null, null, !2} ; [ DW_TAG_subprogram ] [line 3] [def] [a]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics/ReportFuncCall.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !2, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "a", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 3, file: !1, scope: !5, type: !6, function: void (double*, i32)* @a, variables: !2)
> +!5 = !MDFile(filename: "ReportFuncCall.c", directory: "/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics")
> +!6 = !MDSubroutineType(types: !2)
> !7 = !{i32 2, !"Dwarf Version", i32 4}
> -!8 = !{i32 2, !"Debug Info Version", i32 2}
> +!8 = !{i32 2, !"Debug Info Version", i32 3}
> !9 = !{!"clang version 3.5.0 "}
> !10 = !MDLocation(line: 4, column: 8, scope: !11)
> -!11 = !{!"0xb\004\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics/ReportFuncCall.c]
> +!11 = distinct !MDLexicalBlock(line: 4, column: 3, file: !1, scope: !4)
> !12 = !MDLocation(line: 5, column: 12, scope: !13)
> -!13 = !{!"0xb\004\0027\000", !1, !11} ; [ DW_TAG_lexical_block ] [/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics/ReportFuncCall.c]
> +!13 = distinct !MDLexicalBlock(line: 4, column: 27, file: !1, scope: !11)
> !14 = !{!15, !15, i64 0}
> !15 = !{!"double", !16, i64 0}
> !16 = !{!"omnipotent char", !17, i64 0}
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll Tue Mar  3 12:17:26 2015
> @@ -59,31 +59,31 @@ attributes #1 = { nounwind readnone }
> !llvm.module.flags = !{!10, !11}
> !llvm.ident = !{!12}
> 
> -!0 = !{!"0x11\0012\00clang version 3.6.0 \000\00\000\00\001", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [test/ScopDetectionDiagnostic/ReportLoopBound-01.c] [DW_LANG_C99]
> -!1 = !{!"ReportLoopBound-01.c", !"test/ScopDetectionDiagnostic/"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.6.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "ReportLoopBound-01.c", directory: "test/ScopDetectionDiagnostic/")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00f\00f\00\001\000\001\000\006\00256\000\001", !1, !5, !6, null, void (i32*, i32)* @f, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [f]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [test/ScopDetectionDiagnostic/ReportLoopBound-01.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void (i32*, i32)* @f, variables: !2)
> +!5 = !MDFile(filename: "ReportLoopBound-01.c", directory: "test/ScopDetectionDiagnostic/")
> +!6 = !MDSubroutineType(types: !7)
> !7 = !{null, !8, !9}
> -!8 = !{!"0xf\00\000\0064\0064\000\000", null, null, !9} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from int]
> -!9 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
> +!8 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !9)
> +!9 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
> !10 = !{i32 2, !"Dwarf Version", i32 4}
> -!11 = !{i32 2, !"Debug Info Version", i32 2}
> +!11 = !{i32 2, !"Debug Info Version", i32 3}
> !12 = !{!"clang version 3.6.0 "}
> -!13 = !{!"0x101\00A\0016777217\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [A] [line 1]
> +!13 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "A", line: 1, arg: 1, scope: !4, file: !5, type: !8)
> !14 = !MDLocation(line: 1, column: 12, scope: !4)
> -!15 = !{!"0x101\00n\0033554433\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [n] [line 1]
> +!15 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "n", line: 1, arg: 2, scope: !4, file: !5, type: !9)
> !16 = !MDLocation(line: 1, column: 21, scope: !4)
> !17 = !{i32 0}
> -!18 = !{!"0x100\00i\002\000", !19, !5, !9} ; [ DW_TAG_auto_variable ] [i] [line 2]
> -!19 = !{!"0xb\002\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [test/ScopDetectionDiagnostic/ReportLoopBound-01.c]
> +!18 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 2, scope: !19, file: !5, type: !9)
> +!19 = distinct !MDLexicalBlock(line: 2, column: 3, file: !1, scope: !4)
> !20 = !MDLocation(line: 2, column: 12, scope: !19)
> !21 = !MDLocation(line: 2, column: 8, scope: !19)
> !22 = !MDLocation(line: 2, column: 8, scope: !23)
> -!23 = !{!"0xb\002\008\001", !1, !19} ; [ DW_TAG_lexical_block ] [test/ScopDetectionDiagnostic/ReportLoopBound-01.c]
> +!23 = distinct !MDLexicalBlock(line: 2, column: 8, file: !1, scope: !19)
> !24 = !MDLocation(line: 3, column: 5, scope: !19)
> !25 = !MDLocation(line: 2, column: 8, scope: !26)
> -!26 = !{!"0xb\002\008\002", !1, !19} ; [ DW_TAG_lexical_block ] [test/ScopDetectionDiagnostic/ReportLoopBound-01.c]
> +!26 = distinct !MDLexicalBlock(line: 2, column: 8, file: !1, scope: !19)
> !27 = !MDLocation(line: 4, column: 1, scope: !4)
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll Tue Mar  3 12:17:26 2015
> @@ -113,23 +113,23 @@ for.end:
> !llvm.module.flags = !{!7, !8}
> !llvm.ident = !{!9}
> 
> -!0 = !{!"0x11\0012\00clang version 3.6.0 \001\00\000\00\002", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/home/grosser/Projects/polly/git/tools/polly/test//tmp/test.c] [DW_LANG_C99]
> -!1 = !{!"/tmp/test.c", !"/home/grosser/Projects/polly/git/tools/polly/test"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.6.0 ", isOptimized: true, emissionKind: 2, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00manyaccesses\00manyaccesses\00\001\000\001\000\006\00256\001\002", !1, !5, !6, null, void (float*, i64, float*)* @manyaccesses, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [scope 2] [manyaccesses]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [/home/grosser/Projects/polly/git/tools/polly/test//tmp/test.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !2, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "manyaccesses", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 2, file: !1, scope: !5, type: !6, function: void (float*, i64, float*)* @manyaccesses, variables: !2)
> +!5 = !MDFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test")
> +!6 = !MDSubroutineType(types: !2)
> !7 = !{i32 2, !"Dwarf Version", i32 4}
> -!8 = !{i32 2, !"Debug Info Version", i32 2}
> +!8 = !{i32 2, !"Debug Info Version", i32 3}
> !9 = !{!"clang version 3.6.0 "}
> !10 = !MDLocation(line: 3, column: 20, scope: !11)
> -!11 = !{!"0xb\002", !1, !12} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test//tmp/test.c]
> -!12 = !{!"0xb\001", !1, !13} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test//tmp/test.c]
> -!13 = !{!"0xb\003\003\001", !1, !14} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test//tmp/test.c]
> -!14 = !{!"0xb\003\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test//tmp/test.c]
> +!11 = !MDLexicalBlockFile(discriminator: 2, file: !1, scope: !12)
> +!12 = !MDLexicalBlockFile(discriminator: 1, file: !1, scope: !13)
> +!13 = distinct !MDLexicalBlock(line: 3, column: 3, file: !1, scope: !14)
> +!14 = distinct !MDLexicalBlock(line: 3, column: 3, file: !1, scope: !4)
> !15 = !MDLocation(line: 8, column: 16, scope: !16)
> -!16 = !{!"0xb\003\0035\002", !1, !13} ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly/test//tmp/test.c]
> +!16 = distinct !MDLexicalBlock(line: 3, column: 35, file: !1, scope: !13)
> !17 = !MDLocation(line: 4, column: 26, scope: !16)
> !18 = !MDLocation(line: 4, column: 22, scope: !16)
> !19 = !MDLocation(line: 7, column: 16, scope: !16)
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll Tue Mar  3 12:17:26 2015
> @@ -48,24 +48,24 @@ attributes #1 = { nounwind readnone }
> !llvm.module.flags = !{!10, !11}
> !llvm.ident = !{!12}
> 
> -!0 = !{!"0x11\0012\00clang version 3.6.0 \000\00\000\00\001", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [test/ScopDetectionDiagnostic/ReportNonAffineAccess-01.c] [DW_LANG_C99]
> -!1 = !{!"ReportNonAffineAccess-01.c", !"test/ScopDetectionDiagnostic/"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.6.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "ReportNonAffineAccess-01.c", directory: "test/ScopDetectionDiagnostic/")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00f\00f\00\001\000\001\000\006\00256\000\001", !1, !5, !6, null, void (i32*)* @f, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [f]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [test/ScopDetectionDiagnostic/ReportNonAffineAccess-01.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void (i32*)* @f, variables: !2)
> +!5 = !MDFile(filename: "ReportNonAffineAccess-01.c", directory: "test/ScopDetectionDiagnostic/")
> +!6 = !MDSubroutineType(types: !7)
> !7 = !{null, !8}
> -!8 = !{!"0xf\00\000\0064\0064\000\000", null, null, !9} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from int]
> -!9 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
> +!8 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !9)
> +!9 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
> !10 = !{i32 2, !"Dwarf Version", i32 4}
> -!11 = !{i32 2, !"Debug Info Version", i32 2}
> +!11 = !{i32 2, !"Debug Info Version", i32 3}
> !12 = !{!"clang version 3.6.0 "}
> -!13 = !{!"0x101\00A\0016777217\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [A] [line 1]
> +!13 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "A", line: 1, arg: 1, scope: !4, file: !5, type: !8)
> !14 = !MDLocation(line: 1, column: 12, scope: !4)
> !15 = !{i32 0}
> -!16 = !{!"0x100\00i\002\000", !17, !5, !9} ; [ DW_TAG_auto_variable ] [i] [line 2]
> -!17 = !{!"0xb\002\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [test/ScopDetectionDiagnostic/ReportNonAffineAccess-01.c]
> +!16 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 2, scope: !17, file: !5, type: !9)
> +!17 = distinct !MDLexicalBlock(line: 2, column: 3, file: !1, scope: !4)
> !18 = !MDLocation(line: 2, column: 11, scope: !17)
> !19 = !MDLocation(line: 2, column: 7, scope: !17)
> !20 = !MDLocation(line: 3, column: 5, scope: !17)
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll Tue Mar  3 12:17:26 2015
> @@ -84,44 +84,44 @@ attributes #1 = { nounwind readnone }
> !llvm.module.flags = !{!11, !12}
> !llvm.ident = !{!13}
> 
> -!0 = !{!"0x11\0012\00clang version 3.7.0  (llvm/trunk 229257)\000\00\000\00\001", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/home/grosser/Projects/polly/git/tools/polly//tmp/test.c] [DW_LANG_C99]
> -!1 = !{!"/tmp/test.c", !"/home/grosser/Projects/polly/git/tools/polly"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.7.0  (llvm/trunk 229257)", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
> !2 = !{}
> !3 = !{!4, !10}
> -!4 = !{!"0x2e\00onlyWrite\00onlyWrite\00\001\000\001\000\000\00256\000\001", !1, !5, !6, null, void (float*)* @onlyWrite, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [onlyWrite]
> -!5 = !{!"0x29", !1}                               ; [ DW_TAG_file_type ] [/home/grosser/Projects/polly/git/tools/polly//tmp/test.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", null, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "onlyWrite", line: 1, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void (float*)* @onlyWrite, variables: !2)
> +!5 = !MDFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
> +!6 = !MDSubroutineType(types: !7)
> !7 = !{null, !8}
> -!8 = !{!"0xf\00\000\0064\0064\000\000", null, null, !9} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from float]
> -!9 = !{!"0x24\00float\000\0032\0032\000\000\004", null, null} ; [ DW_TAG_base_type ] [float] [line 0, size 32, align 32, offset 0, enc DW_ATE_float]
> -!10 = !{!"0x2e\00onlyRead\00onlyRead\00\006\000\001\000\000\00256\000\006", !1, !5, !6, null, void (float*)* @onlyRead, null, null, !2} ; [ DW_TAG_subprogram ] [line 6] [def] [onlyRead]
> +!8 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !9)
> +!9 = !MDBasicType(tag: DW_TAG_base_type, name: "float", size: 32, align: 32, encoding: DW_ATE_float)
> +!10 = !MDSubprogram(name: "onlyRead", line: 6, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 6, file: !1, scope: !5, type: !6, function: void (float*)* @onlyRead, variables: !2)
> !11 = !{i32 2, !"Dwarf Version", i32 4}
> -!12 = !{i32 2, !"Debug Info Version", i32 2}
> +!12 = !{i32 2, !"Debug Info Version", i32 3}
> !13 = !{!"clang version 3.7.0  (llvm/trunk 229257)"}
> -!14 = !{!"0x101\00A\0016777217\000", !4, !5, !8}  ; [ DW_TAG_arg_variable ] [A] [line 1]
> -!15 = !{!"0x102"}                                 ; [ DW_TAG_expression ]
> +!14 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "A", line: 1, arg: 1, scope: !4, file: !5, type: !8)
> +!15 = !MDExpression()
> !16 = !MDLocation(line: 1, column: 23, scope: !4)
> -!17 = !{!"0x100\00i\002\000", !18, !5, !19}       ; [ DW_TAG_auto_variable ] [i] [line 2]
> -!18 = !{!"0xb\002\003\000", !1, !4}               ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly//tmp/test.c]
> -!19 = !{!"0x24\00long int\000\0064\0064\000\000\005", null, null} ; [ DW_TAG_base_type ] [long int] [line 0, size 64, align 64, offset 0, enc DW_ATE_signed]
> +!17 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 2, scope: !18, file: !5, type: !19)
> +!18 = distinct !MDLexicalBlock(line: 2, column: 3, file: !1, scope: !4)
> +!19 = !MDBasicType(tag: DW_TAG_base_type, name: "long int", size: 64, align: 64, encoding: DW_ATE_signed)
> !20 = !MDLocation(line: 2, column: 13, scope: !18)
> !21 = !MDLocation(line: 2, column: 8, scope: !18)
> !22 = !MDLocation(line: 2, column: 3, scope: !18)
> !23 = !MDLocation(line: 3, column: 5, scope: !24)
> -!24 = !{!"0xb\002\003\001", !1, !18}              ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly//tmp/test.c]
> +!24 = distinct !MDLexicalBlock(line: 2, column: 3, file: !1, scope: !18)
> !25 = !MDLocation(line: 3, column: 10, scope: !24)
> !26 = !MDLocation(line: 2, column: 30, scope: !24)
> !27 = !MDLocation(line: 2, column: 3, scope: !24)
> !28 = !MDLocation(line: 4, column: 1, scope: !4)
> -!29 = !{!"0x101\00A\0016777222\000", !10, !5, !8} ; [ DW_TAG_arg_variable ] [A] [line 6]
> +!29 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "A", line: 6, arg: 1, scope: !10, file: !5, type: !8)
> !30 = !MDLocation(line: 6, column: 22, scope: !10)
> -!31 = !{!"0x100\00i\007\000", !32, !5, !19}       ; [ DW_TAG_auto_variable ] [i] [line 7]
> -!32 = !{!"0xb\007\003\002", !1, !10}              ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly//tmp/test.c]
> +!31 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 7, scope: !32, file: !5, type: !19)
> +!32 = distinct !MDLexicalBlock(line: 7, column: 3, file: !1, scope: !10)
> !33 = !MDLocation(line: 7, column: 13, scope: !32)
> !34 = !MDLocation(line: 7, column: 8, scope: !32)
> !35 = !MDLocation(line: 7, column: 3, scope: !32)
> !36 = !MDLocation(line: 8, column: 5, scope: !37)
> -!37 = !{!"0xb\007\003\003", !1, !32}              ; [ DW_TAG_lexical_block ] [/home/grosser/Projects/polly/git/tools/polly//tmp/test.c]
> +!37 = distinct !MDLexicalBlock(line: 7, column: 3, file: !1, scope: !32)
> !38 = !MDLocation(line: 8, column: 10, scope: !37)
> !39 = !MDLocation(line: 7, column: 30, scope: !37)
> !40 = !MDLocation(line: 7, column: 3, scope: !37)
> 
> Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll?rev=231089&r1=231088&r2=231089&view=diff
> ==============================================================================
> --- polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll (original)
> +++ polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll Tue Mar  3 12:17:26 2015
> @@ -62,28 +62,28 @@ attributes #1 = { nounwind readnone }
> !llvm.module.flags = !{!20, !21}
> !llvm.ident = !{!22}
> 
> -!0 = !{!"0x11\0012\00clang version 3.5.0 \001\00\000\00\001", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [test/ScopDetectionDiagnostics/ReportVariantBasePtr01.c] [DW_LANG_C99]
> -!1 = !{!"ReportVariantBasePtr01.c", !"test/ScopDetectionDiagnostics"}
> +!0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5.0 ", isOptimized: true, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
> +!1 = !MDFile(filename: "ReportVariantBasePtr01.c", directory: "test/ScopDetectionDiagnostics")
> !2 = !{}
> !3 = !{!4}
> -!4 = !{!"0x2e\00a\00a\00\005\000\001\000\006\00256\001\005", !1, !5, !6, null, void (%struct.b*)* @a, null, null, !15} ; [ DW_TAG_subprogram ] [line 5] [def] [a]
> -!5 = !{!"0x29", !1}          ; [ DW_TAG_file_type ] [test/ScopDetectionDiagnostics/ReportVariantBasePtr01.c]
> -!6 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
> +!4 = !MDSubprogram(name: "a", line: 5, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 5, file: !1, scope: !5, type: !6, function: void (%struct.b*)* @a, variables: !15)
> +!5 = !MDFile(filename: "ReportVariantBasePtr01.c", directory: "test/ScopDetectionDiagnostics")
> +!6 = !MDSubroutineType(types: !7)
> !7 = !{null, !8}
> -!8 = !{!"0xf\00\000\0064\0064\000\000", null, null, !9} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from b]
> -!9 = !{!"0x13\00b\001\0064\0064\000\000\000", !1, null, null, !10, null, null, null} ; [ DW_TAG_structure_type ] [b] [line 1, size 64, align 64, offset 0] [def] [from ]
> +!8 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !9)
> +!9 = !MDCompositeType(tag: DW_TAG_structure_type, name: "b", line: 1, size: 64, align: 64, file: !1, elements: !10)
> !10 = !{!11}
> -!11 = !{!"0xd\00b\002\0064\0064\000\000", !1, !9, !12} ; [ DW_TAG_member ] [b] [line 2, size 64, align 64, offset 0] [from ]
> -!12 = !{!"0xf\00\000\0064\0064\000\000", null, null, !13} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from ]
> -!13 = !{!"0xf\00\000\0064\0064\000\000", null, null, !14} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from double]
> -!14 = !{!"0x24\00double\000\0064\0064\000\000\004", null, null} ; [ DW_TAG_base_type ] [double] [line 0, size 64, align 64, offset 0, enc DW_ATE_float]
> +!11 = !MDDerivedType(tag: DW_TAG_member, name: "b", line: 2, size: 64, align: 64, file: !1, scope: !9, baseType: !12)
> +!12 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !13)
> +!13 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !14)
> +!14 = !MDBasicType(tag: DW_TAG_base_type, name: "double", size: 64, align: 64, encoding: DW_ATE_float)
> !15 = !{!16, !17}
> -!16 = !{!"0x101\00A\0016777221\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [A] [line 5]
> -!17 = !{!"0x100\00i\006\000", !18, !5, !19} ; [ DW_TAG_auto_variable ] [i] [line 6]
> -!18 = !{!"0xb\006\003\000", !1, !4} ; [ DW_TAG_lexical_block ] [test/ScopDetectionDiagnostics/ReportVariantBasePtr01.c]
> -!19 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
> +!16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "A", line: 5, arg: 1, scope: !4, file: !5, type: !8)
> +!17 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 6, scope: !18, file: !5, type: !19)
> +!18 = distinct !MDLexicalBlock(line: 6, column: 3, file: !1, scope: !4)
> +!19 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
> !20 = !{i32 2, !"Dwarf Version", i32 4}
> -!21 = !{i32 2, !"Debug Info Version", i32 2}
> +!21 = !{i32 2, !"Debug Info Version", i32 3}
> !22 = !{!"clang version 3.5.0 "}
> !23 = !MDLocation(line: 5, column: 18, scope: !4)
> !24 = !{i32 0}
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list