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