xref: /llvm-project/mlir/test/Target/SPIRV/execution-mode.mlir (revision e4889c0a046e251bfaf27a637df606112659be89)
1// RUN: mlir-translate -no-implicit-module -test-spirv-roundtrip %s | FileCheck %s
2
3spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], []> {
4  spirv.func @foo() -> () "None" {
5    spirv.Return
6  }
7  spirv.EntryPoint "GLCompute" @foo
8  // CHECK: spirv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5
9  spirv.ExecutionMode @foo "LocalSizeHint", 3, 4, 5
10}
11