Files
clang-p2996/mlir/test/Conversion/FuncToLLVM/invalid.mlir
River Riddle 3028bf740e [mlir][NFC] Update textual references of func to func.func in Conversion/ tests
The special case parsing of `func` operations is being removed.
2022-04-20 22:17:27 -07:00

10 lines
312 B
MLIR

// RUN: mlir-opt %s -convert-func-to-llvm -verify-diagnostics -split-input-file
// Should not crash on unsupported types in function signatures.
func.func private @unsupported_signature() -> tensor<10 x i32>
// -----
func.func private @partially_supported_signature() -> (vector<10 x i32>, tensor<10 x i32>)