bolt/deps/llvm-18.1.8/llvm/test/CodeGen/SPIRV/transcoding/readonly.ll

10 lines
358 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
; CHECK-SPIRV: OpDecorate %[[#PARAM:]] FuncParamAttr NoWrite
; CHECK-SPIRV: %[[#PARAM]] = OpFunctionParameter %{{.*}}
define dso_local spir_kernel void @_ZTSZ4mainE15kernel_function(i32 addrspace(1)* readonly %_arg_) local_unnamed_addr {
entry:
ret void
}