1// RUN: mlir-opt -test-convert-to-spirv="run-signature-conversion=false run-vector-unrolling=false" -split-input-file %s | FileCheck %s 2 3// CHECK-LABEL: @ub 4// CHECK: %[[UNDEF:.*]] = spirv.Undef : i32 5// CHECK: spirv.ReturnValue %[[UNDEF]] : i32 6func.func @ub() -> index { 7 %0 = ub.poison : index 8 return %0 : index 9} 10