[polly] r252273 - Adjust debug metadata to LLVM changes in 252219
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 5 22:27:40 PST 2015
Author: grosser
Date: Fri Nov 6 00:27:39 2015
New Revision: 252273
URL: http://llvm.org/viewvc/llvm-project?rev=252273&view=rev
Log:
Adjust debug metadata to LLVM changes in 252219
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=252273&r1=252272&r2=252273&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 Fri Nov 6 00:27:39 2015
@@ -7,7 +7,7 @@ target datalayout = "e-m:e-i64:64-f80:12
@A = common global i32* null, align 8
; Function Attrs: nounwind uwtable
-define void @foo() {
+define void @foo() !dbg !4 {
entry:
tail call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !9, metadata !19), !dbg !20
%0 = load i32*, i32** @A, align 8, !dbg !21, !tbaa !23
@@ -39,7 +39,7 @@ declare void @llvm.dbg.value(metadata, i
!1 = !DIFile(filename: "t2.c", directory: "/local/mnt/workspace/build/tip-Release")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(name: "foo", line: 3, isLocal: false, isDefinition: true, isOptimized: true, scopeLine: 3, file: !1, scope: !5, type: !6, function: void ()* @foo, variables: !8)
+!4 = distinct !DISubprogram(name: "foo", line: 3, isLocal: false, isDefinition: true, isOptimized: true, scopeLine: 3, file: !1, scope: !5, type: !6, variables: !8)
!5 = !DIFile(filename: "t2.c", directory: "/local/mnt/workspace/build/tip-Release")
!6 = !DISubroutineType(types: !7)
!7 = !{null}
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=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/debug-intrinsics.ll (original)
+++ polly/trunk/test/Isl/CodeGen/debug-intrinsics.ll Fri Nov 6 00:27:39 2015
@@ -9,7 +9,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
; Function Attrs: nounwind uwtable
-define void @foo(float* %A, i64 %N) #0 {
+define void @foo(float* %A, i64 %N) #0 !dbg !4 {
entry:
br label %entry.split
@@ -65,7 +65,7 @@ attributes #1 = { nounwind readnone }
!1 = !DIFile(filename: "loop.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "loop.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
!6 = !DISubroutineType(types: !7)
!7 = !{null, !8, !10}
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=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetect/report-scop-location.ll (original)
+++ polly/trunk/test/ScopDetect/report-scop-location.ll Fri Nov 6 00:27:39 2015
@@ -2,7 +2,7 @@
target datalayout = "e-i64:64-f80:128-s:64-n8:16:32:64-S128"
; Function Attrs: nounwind uwtable
-define void @foo(float* %A) #0 {
+define void @foo(float* %A) #0 !dbg !4 {
entry:
br label %entry.split
@@ -28,7 +28,7 @@ for.end:
; CHECK: test.c:3: End of scop
; Function Attrs: nounwind uwtable
-define void @bar(float* %A) #0 {
+define void @bar(float* %A) #0 !dbg !7 {
entry:
br label %entry.split
@@ -63,10 +63,10 @@ attributes #0 = { nounwind uwtable "less
!1 = !DIFile(filename: "test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
!2 = !{}
!3 = !{!4, !7}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
!6 = !DISubroutineType(types: !{null})
-!7 = distinct !DISubprogram(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)
+!7 = distinct !DISubprogram(name: "bar", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 6, file: !1, scope: !5, type: !6, variables: !2)
!8 = !{i32 2, !"Dwarf Version", i32 4}
!9 = !{i32 1, !"Debug Info Version", i32 3}
!10 = !{!"clang version 3.5 "}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportAlias-01.ll Fri Nov 6 00:27:39 2015
@@ -11,7 +11,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @f(i32* %A, i32* %B) {
+define void @f(i32* %A, i32* %B) !dbg !4 {
entry:
br label %entry.split
@@ -47,7 +47,7 @@ declare void @llvm.dbg.value(metadata, i
!1 = !DIFile(filename: "ReportAlias-01.c", directory: "test/ScopDetectionDiagnostic/")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "ReportAlias-01.c", directory: "test/ScopDetectionDiagnostic/")
!6 = !DISubroutineType(types: !7)
!7 = !{null, !8, !8}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll Fri Nov 6 00:27:39 2015
@@ -12,7 +12,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @differenttypes(i8* nocapture %A) {
+define void @differenttypes(i8* nocapture %A) !dbg !4 {
entry:
br label %for.body, !dbg !10
@@ -43,7 +43,7 @@ for.end:
!1 = !DIFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "differenttypes", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 2, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test/ScopDetectionDiagnostics")
!6 = !DISubroutineType(types: !2)
!7 = !{i32 2, !"Dwarf Version", i32 4}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportFuncCall-01.ll Fri Nov 6 00:27:39 2015
@@ -11,7 +11,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @a(double* %A, i32 %n) #0 {
+define void @a(double* %A, i32 %n) #0 !dbg !4 {
entry:
%cmp1 = icmp sgt i32 %n, 0, !dbg !10
br i1 %cmp1, label %for.body.lr.ph, label %for.end, !dbg !10
@@ -49,7 +49,7 @@ declare double @invalidCall(double*) #1
!1 = !DIFile(filename: "ReportFuncCall.c", directory: "/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "a", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 3, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "ReportFuncCall.c", directory: "/home/simbuerg/Projekte/llvm/tools/polly/test/ScopDetectionDiagnostics")
!6 = !DISubroutineType(types: !2)
!7 = !{i32 2, !"Dwarf Version", i32 4}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll Fri Nov 6 00:27:39 2015
@@ -37,7 +37,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @f(i32* %A, i32 %n) {
+define void @f(i32* %A, i32 %n) !dbg !4 {
entry:
br label %entry.split
@@ -90,7 +90,7 @@ attributes #1 = { nounwind readnone }
!1 = !DIFile(filename: "ReportLoopBound-01.c", directory: "test/ScopDetectionDiagnostic/")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "ReportLoopBound-01.c", directory: "test/ScopDetectionDiagnostic/")
!6 = !DISubroutineType(types: !7)
!7 = !{null, !8, !9}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll Fri Nov 6 00:27:39 2015
@@ -57,7 +57,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @manyaccesses(float* noalias %A, i64 %n, float* noalias %B) {
+define void @manyaccesses(float* noalias %A, i64 %n, float* noalias %B) !dbg !4 {
entry:
br label %entry.split
@@ -117,7 +117,7 @@ for.end:
!1 = !DIFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "manyaccesses", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 2, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly/test")
!6 = !DISubroutineType(types: !2)
!7 = !{i32 2, !"Dwarf Version", i32 4}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportNonAffineAccess-01.ll Fri Nov 6 00:27:39 2015
@@ -12,7 +12,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @f(i32* %A) {
+define void @f(i32* %A) !dbg !4 {
entry:
br label %entry.split
@@ -51,7 +51,7 @@ attributes #1 = { nounwind readnone }
!1 = !DIFile(filename: "ReportNonAffineAccess-01.c", directory: "test/ScopDetectionDiagnostic/")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "ReportNonAffineAccess-01.c", directory: "test/ScopDetectionDiagnostic/")
!6 = !DISubroutineType(types: !7)
!7 = !{null, !8}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportUnprofitable.ll Fri Nov 6 00:27:39 2015
@@ -23,7 +23,7 @@ target datalayout = "e-m:e-i64:64-f80:12
; Function Attrs: nounwind uwtable
-define void @onlyWrite(float* %A) #0 {
+define void @onlyWrite(float* %A) #0 !dbg !4 {
entry:
call void @llvm.dbg.value(metadata float* %A, i64 0, metadata !14, metadata !15), !dbg !16
call void @llvm.dbg.value(metadata i64 0, i64 0, metadata !17, metadata !15), !dbg !20
@@ -52,7 +52,7 @@ for.end:
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
; Function Attrs: nounwind uwtable
-define void @onlyRead(float* %A) #0 {
+define void @onlyRead(float* %A) #0 !dbg !10 {
entry:
call void @llvm.dbg.value(metadata float* %A, i64 0, metadata !29, metadata !15), !dbg !30
call void @llvm.dbg.value(metadata i64 0, i64 0, metadata !31, metadata !15), !dbg !33
@@ -91,13 +91,13 @@ attributes #1 = { nounwind readnone }
!1 = !DIFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
!2 = !{}
!3 = !{!4, !10}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "onlyWrite", line: 1, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
!5 = !DIFile(filename: "/tmp/test.c", directory: "/home/grosser/Projects/polly/git/tools/polly")
!6 = !DISubroutineType(types: !7)
!7 = !{null, !8}
!8 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !9)
!9 = !DIBasicType(tag: DW_TAG_base_type, name: "float", size: 32, align: 32, encoding: DW_ATE_float)
-!10 = distinct !DISubprogram(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)
+!10 = distinct !DISubprogram(name: "onlyRead", line: 6, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 6, file: !1, scope: !5, type: !6, variables: !2)
!11 = !{i32 2, !"Dwarf Version", i32 4}
!12 = !{i32 2, !"Debug Info Version", i32 3}
!13 = !{!"clang version 3.7.0 (llvm/trunk 229257)"}
Modified: polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll?rev=252273&r1=252272&r2=252273&view=diff
==============================================================================
--- polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll (original)
+++ polly/trunk/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll Fri Nov 6 00:27:39 2015
@@ -16,7 +16,7 @@ target datalayout = "e-m:e-i64:64-f80:12
%struct.b = type { double** }
-define void @a(%struct.b* nocapture readonly %A) #0 {
+define void @a(%struct.b* nocapture readonly %A) #0 !dbg !4 {
entry:
br label %entry.split
@@ -65,7 +65,7 @@ attributes #1 = { nounwind readnone }
!1 = !DIFile(filename: "ReportVariantBasePtr01.c", directory: "test/ScopDetectionDiagnostics")
!2 = !{}
!3 = !{!4}
-!4 = distinct !DISubprogram(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)
+!4 = distinct !DISubprogram(name: "a", line: 5, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 5, file: !1, scope: !5, type: !6, variables: !15)
!5 = !DIFile(filename: "ReportVariantBasePtr01.c", directory: "test/ScopDetectionDiagnostics")
!6 = !DISubroutineType(types: !7)
!7 = !{null, !8}
More information about the llvm-commits
mailing list