Debian Codegraph @

llvm-project/llvm/projects/llvm-spirv/test/negative/unsupported-triple.ll

raw
1 ; RUN: llvm-as %s -o %t.bc
2 ; RUN: not llvm-spirv %t.bc -o %t.spv 2>&1 | FileCheck %s
3
4 ; CHECK: InvalidTargetTriple: Expects spir-unknown-unknown or spir64-unknown-unknown. Actual target triple is aarch64
5
6 target datalayout = "e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
7 target triple = "aarch64"
8
9 ; Function Attrs: convergent noinline nounwind optnone
10 define spir_func void @_Z3foov() {
11 entry:
12 ret void
13 }
14
15 !llvm.module.flags = !{!0}
16 !opencl.spir.version = !{!1}
17 !opencl.ocl.version = !{!1}
18
19 !0 = !{i32 1, !"wchar_size", i32 4}
20 !1 = !{i32 2, i32 0}