[Mlir-commits] [mlir] [mlir][tosa] fallback unknown type (PR #205873)
Luke Hutton
llvmlistbot at llvm.org
Fri Jul 10 07:49:05 PDT 2026
================
@@ -25,3 +25,17 @@ func.func @test_avg_pool2d_adaptive_non_const_output_zp(%arg0: tensor<1x32x32x8x
(tensor<1x32x32x8xf32>, tensor<1xf32>, tensor<1xf32>, !tosa.shape<2>, !tosa.shape<2>, !tosa.shape<4>) -> tensor<1x32x32x8xf32>
return %0 : tensor<1x32x32x8xf32>
}
+
+// -----
+
+module {
+ // expected-error at +1 {{'tosa.variable' op is not profile-aligned: element type 'f64' is not legal}}
+ tosa.variable @dynamic_var : tensor<2x?xf64>
+}
+
+// -----
+
+module {
----------------
lhutton1 wrote:
This is testing the same functionality as above, I think we can remove it
https://github.com/llvm/llvm-project/pull/205873
More information about the Mlir-commits
mailing list