diff options
| author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2019-01-23 10:29:12 +0000 |
|---|---|---|
| committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2019-01-23 10:29:12 +0000 |
| commit | 6046d087c5b91d997ee025f38d83405bf0668adb (patch) | |
| tree | 1b05acc299b6bf86b746b9fa0617ccdcf33c2fd6 /llvm/test | |
| parent | 6a858a94250ecf96f849d2b9108ebacc86be98a9 (diff) | |
| download | bcm5719-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')
| -rw-r--r-- | llvm/test/CodeGen/SystemZ/debuginstr-02.mir | 4 |
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 |

