DI: Remove DW_TAG_arg_variable and DW_TAG_auto_variable
[oota-llvm.git] / test / Transforms / ScalarRepl / debuginfo-preserved.ll
index 8e5d4ff773dd1547864c6828f3d764b7c9d3af3e..83c7d990246615b7df6964e0a7a57cd4dbeab0f7 100644 (file)
@@ -48,11 +48,11 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
 !3 = !DISubroutineType(types: !4)
 !4 = !{!5}
 !5 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
-!6 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 1, arg: 1, scope: !1, file: !2, type: !5)
+!6 = !DILocalVariable(name: "a", line: 1, arg: 1, scope: !1, file: !2, type: !5)
 !7 = !DILocation(line: 1, column: 11, scope: !1)
-!8 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "b", line: 1, arg: 2, scope: !1, file: !2, type: !5)
+!8 = !DILocalVariable(name: "b", line: 1, arg: 2, scope: !1, file: !2, type: !5)
 !9 = !DILocation(line: 1, column: 18, scope: !1)
-!10 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "c", line: 2, scope: !11, file: !2, type: !5)
+!10 = !DILocalVariable(name: "c", line: 2, scope: !11, file: !2, type: !5)
 !11 = distinct !DILexicalBlock(line: 1, column: 21, file: !18, scope: !1)
 !12 = !DILocation(line: 2, column: 9, scope: !11)
 !13 = !DILocation(line: 2, column: 14, scope: !11)