[Mlir-commits] [mlir] [MLIR][TOSA] Update IfOp print/parse to support ranked condition tens… (PR #149791)

Luke Hutton llvmlistbot at llvm.org
Tue Jul 22 01:27:21 PDT 2025


================
@@ -280,3 +280,32 @@ func.func @test_cond_if_isolated_from_above(%arg0: tensor<f32>, %arg1: tensor<f3
     }) : (tensor<i1>, tensor<f32>, tensor<f32>) -> tensor<f32>
   return %0 : tensor<f32>
 }
+
+// -----
+
+// CHECK-LABEL: cond_if_cond_type
+func.func @test_cond_if_cond_type(%arg0: tensor<f32>, %arg1: tensor<f32>, %arg2: tensor<i1>) -> tensor<f32> {
----------------
lhutton1 wrote:

Could we place these with the other cond_if related tests in `verifier.mlir`?

https://github.com/llvm/llvm-project/pull/149791


More information about the Mlir-commits mailing list