[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / mlir / test / Target / SPIRV / execution-mode.mlir
blobe51ba7c0269a4a575e4679e59a0f14911ec31300
1 // RUN: mlir-translate -no-implicit-module -test-spirv-roundtrip %s | FileCheck %s
3 spirv.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