[llvm] r290285 - Legalize metadata in legacy testcases
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 15:28:50 PST 2016
Author: adrian
Date: Wed Dec 21 17:28:49 2016
New Revision: 290285
URL: http://llvm.org/viewvc/llvm-project?rev=290285&view=rev
Log:
Legalize metadata in legacy testcases
Modified:
llvm/trunk/test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll
llvm/trunk/test/CodeGen/ARM/2010-06-25-Thumb2ITInvalidIterator.ll
Modified: llvm/trunk/test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll?rev=290285&r1=290284&r2=290285&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll Wed Dec 21 17:28:49 2016
@@ -18,12 +18,13 @@ if.else295:
declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
-!llvm.dbg.cu = !{!0}
+!llvm.dbg.cu = !{!3}
+!llvm.module.flags = !{!22, !23}
!0 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "vsplive", line: 617, isLocal: true, isDefinition: true, scope: !1, file: !2, type: !6))
!1 = distinct !DISubprogram(name: "drt_vsprintf", line: 616, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, unit: !3, file: !20, scope: !2, type: !4)
!2 = !DIFile(filename: "print.i", directory: "/Volumes/Ebi/echeng/radars/r9146594")
-!3 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (http://llvm.org/git/clang.git git:/git/puzzlebox/clang.git/ c4d1aea01c4444eb81bdbf391f1be309127c3cf1)", isOptimized: true, emissionKind: FullDebug, file: !20, enums: !21, retainedTypes: !21, globals: !{!0})
+!3 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 (http://llvm.org/git/clang.git git:/git/puzzlebox/clang.git/ c4d1aea01c4444eb81bdbf391f1be309127c3cf1)", isOptimized: true, emissionKind: FullDebug, file: !20, globals: !{!0})
!4 = !DISubroutineType(types: !5)
!5 = !{!6}
!6 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
@@ -41,4 +42,5 @@ declare void @llvm.dbg.declare(metadata,
!18 = !DILocation(line: 853, column: 11, scope: !17)
!19 = !DILocation(line: 853, column: 29, scope: !17)
!20 = !DIFile(filename: "print.i", directory: "/Volumes/Ebi/echeng/radars/r9146594")
-!21 = !{i32 0}
+!22 = !{i32 2, !"Debug Info Version", i32 3}
+!23 = !{i32 2, !"Dwarf Version", i32 2}
Modified: llvm/trunk/test/CodeGen/ARM/2010-06-25-Thumb2ITInvalidIterator.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2010-06-25-Thumb2ITInvalidIterator.ll?rev=290285&r1=290284&r2=290285&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/2010-06-25-Thumb2ITInvalidIterator.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/2010-06-25-Thumb2ITInvalidIterator.ll Wed Dec 21 17:28:49 2016
@@ -45,6 +45,7 @@ declare i32 @x1() optsize
declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
!llvm.dbg.cu = !{!3}
+!llvm.module.flags = !{!27, !28}
!0 = !DILocalVariable(name: "buf", line: 4, arg: 1, scope: !1, file: !2, type: !6)
!1 = distinct !DISubprogram(name: "x0", linkageName: "x0", line: 5, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, unit: !3, file: !26, scope: null, type: !4)
@@ -73,3 +74,5 @@ declare void @llvm.dbg.value(metadata, i
!24 = !DILocation(line: 14, column: 2, scope: !22)
!25 = !DILocation(line: 15, column: 1, scope: !11)
!26 = !DIFile(filename: "t.c", directory: "/private/tmp")
+!27 = !{i32 2, !"Dwarf Version", i32 2}
+!28 = !{i32 2, !"Debug Info Version", i32 3}
More information about the llvm-commits
mailing list