[polly] r232514 - Fix debug info now that the verifier is on

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Mar 17 11:23:38 PDT 2015


Author: dexonsmith
Date: Tue Mar 17 13:23:38 2015
New Revision: 232514

URL: http://llvm.org/viewvc/llvm-project?rev=232514&view=rev
Log:
Fix debug info now that the verifier is on

`i32 0` isn't a valid type, and `!{i32 0}` isn't an empty array.

Needed because of r232505.

Modified:
    polly/trunk/test/ScopDetect/report-scop-location.ll

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=232514&r1=232513&r2=232514&view=diff
==============================================================================
--- polly/trunk/test/ScopDetect/report-scop-location.ll (original)
+++ polly/trunk/test/ScopDetect/report-scop-location.ll Tue Mar 17 13:23:38 2015
@@ -62,11 +62,11 @@ attributes #0 = { nounwind uwtable "less
 
 !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}
+!2 = !{}
 !3 = !{!4, !7}
 !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)
+!6 = !MDSubroutineType(types: !{null})
 !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 3}





More information about the llvm-commits mailing list