1 // RUN: mlir-opt %s -convert-spirv-to-llvm -verify-diagnostics -split-input-file
3 // expected-error@+1 {{failed to legalize operation 'spirv.func' that was explicitly marked illegal}}
4 spirv.func @array_with_unnatural_stride(%arg: !spirv.array<4 x f32, stride=8>) -> () "None" {
10 // expected-error@+1 {{failed to legalize operation 'spirv.func' that was explicitly marked illegal}}
11 spirv.func @struct_array_with_unnatural_stride(%arg: !spirv.struct<(!spirv.array<4 x f32, stride=8>)>) -> () "None" {
17 // expected-error@+1 {{failed to legalize operation 'spirv.func' that was explicitly marked illegal}}
18 spirv.func @struct_with_unnatural_offset(%arg: !spirv.struct<(i32[0], i32[8])>) -> () "None" {
24 // expected-error@+1 {{failed to legalize operation 'spirv.func' that was explicitly marked illegal}}
25 spirv.func @struct_with_decorations(%arg: !spirv.struct<(f32 [RelaxedPrecision])>) -> () "None" {