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

Yuvaraj Venkatesh llvmlistbot at llvm.org
Tue Jul 22 08:49:44 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> {
----------------
Yuvaraj-Venkatesh wrote:

Moved to verifier.mlir . Thanks

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


More information about the Mlir-commits mailing list