We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad2039 commit 556026dCopy full SHA for 556026d
mlir/test/Dialect/Arith/invalid.mlir
@@ -727,6 +727,14 @@ func.func @bitcast_tensor_dim(%arg0 : tensor<4xf32>) {
727
728
// -----
729
730
+func.func @bitcast_tensor_dim(%arg0 : tensor<?xf32>) {
731
+ // expected-error@+1 {{'arith.bitcast' op failed to verify that input and output have the same tensor dimensions}}
732
+ %0 = arith.bitcast %arg0 : tensor<?xf32> to tensor<4xi32>
733
+ return
734
+}
735
+
736
+// -----
737
738
func.func @trunci_fl_to_scalable(%arg0 : vector<4xi32>) {
739
// expected-error@+1 {{'arith.trunci' op requires the same shape for all operands and results}}
740
%0 = arith.trunci %arg0 : vector<4xi32> to vector<[4]xi8>
0 commit comments