summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/SystemZ
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-04 01:23:52 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-04 01:23:52 +0000
commit5e390e4df7db1ca76eaf2c31691cbb4b64963b61 (patch)
tree5c3392414c97c774b05fbafd6e6b19a1f3060671 /llvm/test/DebugInfo/SystemZ
parente6bf06bbdcf80d6480584318675fedd46cc4d86e (diff)
downloadbcm5719-llvm-5e390e4df7db1ca76eaf2c31691cbb4b64963b61.tar.gz
bcm5719-llvm-5e390e4df7db1ca76eaf2c31691cbb4b64963b61.zip
DebugInfo: Remove some unneeded conditionals now that DIBuilder no longer emits zero-length arrays as {i32 0}
A bunch of test cases needed to be cleaned up for this, many my fault - when implementid imported modules I updated test cases by simply duplicating the prior metadata field - which wasn't always the empty metadata entry. llvm-svn: 200731
Diffstat (limited to 'llvm/test/DebugInfo/SystemZ')
-rw-r--r--llvm/test/DebugInfo/SystemZ/variable-loc.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/SystemZ/variable-loc.ll b/llvm/test/DebugInfo/SystemZ/variable-loc.ll
index f3b454835fd..2d92fd9edcc 100644
--- a/llvm/test/DebugInfo/SystemZ/variable-loc.ll
+++ b/llvm/test/DebugInfo/SystemZ/variable-loc.ll
@@ -58,7 +58,7 @@ declare i32 @printf(i8*, ...)
!llvm.module.flags = !{!30}
!0 = metadata !{i32 786449, metadata !29, i32 12, metadata !"clang version 3.2 ", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1, metadata !1, metadata !""} ; [ DW_TAG_compile_unit ] [/home/timnor01/a64-trunk/build/simple.c] [DW_LANG_C99]
-!1 = metadata !{i32 0}
+!1 = metadata !{}
!3 = metadata !{metadata !5, metadata !11, metadata !14}
!5 = metadata !{i32 786478, metadata !29, metadata !6, metadata !"populate_array", metadata !"populate_array", metadata !"", i32 4, metadata !7, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, void (i32*, i32)* @populate_array, null, null, metadata !1, i32 4} ; [ DW_TAG_subprogram ] [line 4] [def] [populate_array]
!6 = metadata !{i32 786473, metadata !29} ; [ DW_TAG_file_type ]
OpenPOWER on IntegriCloud