Debian Codegraph @

llvm-project/llvm/projects/llvm-spirv/test/OpNoLine.spvasm

raw
1 ; REQUIRES: spirv-as
2 ; RUN: spirv-as --target-env spv1.0 -o %t.spv %s
3 ; RUN: spirv-val %t.spv
4 ; RUN: llvm-spirv -r -emit-opaque-pointers -o - %t.spv | llvm-dis | FileCheck %s
5 OpCapability Addresses
6 OpCapability Kernel
7 OpMemoryModel Physical32 OpenCL
8 OpEntryPoint Kernel %1 "testNoLine"
9 %void = OpTypeVoid
10 %uint = OpTypeInt 32 0
11 %5 = OpTypeFunction %void
12 %1 = OpFunction %void None %5
13 %6 = OpLabel
14 OpNoLine
15 OpReturn
16 OpFunctionEnd
17
18 ; CHECK-LABEL: @testNoLine
19 ; CHECK-NEXT: ret