bolt/deps/llvm-18.1.8/llvm/test/CodeGen/SPIRV/ExecutionMode_GLCompute.ll

12 lines
302 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
; CHECK-DAG: OpEntryPoint GLCompute %[[#entry:]] "main"
; CHECK-DAG: OpExecutionMode %[[#entry]] LocalSize 4 8 16
define void @main() #1 {
entry:
ret void
}
attributes #1 = { "hlsl.numthreads"="4,8,16" "hlsl.shader"="compute" }