summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-01-23 10:29:12 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-01-23 10:29:12 +0000
commit6046d087c5b91d997ee025f38d83405bf0668adb (patch)
tree1b05acc299b6bf86b746b9fa0617ccdcf33c2fd6 /llvm/test/CodeGen/SystemZ
parent6a858a94250ecf96f849d2b9108ebacc86be98a9 (diff)
downloadbcm5719-llvm-6046d087c5b91d997ee025f38d83405bf0668adb.tar.gz
bcm5719-llvm-6046d087c5b91d997ee025f38d83405bf0668adb.zip
[SystemZ] Fix test case for buildbot.
llvm-clang-x86_64-expensive-checks-win triggered this assert: "llvm.dbg.value intrinsic requires a !dbg attachment" Hopefully, adding reasonable !dbg operands solves this. llvm-svn: 351939
Diffstat (limited to 'llvm/test/CodeGen/SystemZ')
-rw-r--r--llvm/test/CodeGen/SystemZ/debuginstr-02.mir4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/debuginstr-02.mir b/llvm/test/CodeGen/SystemZ/debuginstr-02.mir
index 2b45f73fbc2..6083c26eeae 100644
--- a/llvm/test/CodeGen/SystemZ/debuginstr-02.mir
+++ b/llvm/test/CodeGen/SystemZ/debuginstr-02.mir
@@ -17,9 +17,9 @@
define float @fun(i1 %cmp, float %arg0, float %arg1, float %arg2, float %arg3, float %arg4) #0 {
%fs0 = select i1 %cmp, float %arg0, float %arg1
; Keep the dbg metadata live by referencing it in the IR.
- call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !7, metadata !DIExpression())
+ call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !7, metadata !DIExpression()), !dbg !9
%fs1 = select i1 %cmp, float %arg2, float %arg3
- call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !7, metadata !DIExpression())
+ call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !7, metadata !DIExpression()), !dbg !9
%fs2 = select i1 %cmp, float %arg0, float %arg3
%s0 = fadd float %fs0, %fs1
%s1 = fadd float %s0, %fs2
OpenPOWER on IntegriCloud