2021-01-21 08:17:26 +08:00
|
|
|
// RUN: mlir-opt %s -split-input-file -verify-diagnostics
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// UnrealizedConversionCastOp
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
// expected-error@+1 {{expected at least one result for cast operation}}
|
2021-07-29 04:32:47 +08:00
|
|
|
"builtin.unrealized_conversion_cast"() : () -> ()
|
2021-01-21 08:17:26 +08:00
|
|
|
|
|
|
|
// -----
|
|
|
|
|
2021-10-12 21:26:01 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// VectorType
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
// expected-error@+1 {{missing ']' closing set of scalable dimensions}}
|
|
|
|
func @scalable_vector_arg(%arg0: vector<[4xf32>) { }
|
|
|
|
|
|
|
|
// -----
|