Debian Codegraph @

llvm/test/CodeGen/SPIRV/GlobalISel/fn-ptr-memcpy.ll

raw
1 ; RUN: not llc --global-isel %s -filetype=null 2>&1 | FileCheck %s
2 target triple = "spirv64"
3
4 define void @memcpy(ptr addrspace(9) %a) {
5 ; CHECK: unable to legalize instruction: G_MEMCPY %{{.*}}:pid(p9), %{{.*}}:pid(p0), %{{.*}}:iid(s64), 0
6 call void @llvm.memcpy.p9.p0.i64(ptr addrspace(9) %a, ptr null, i32 1, i1 0)
7 ret void
8 }