[Mlir-commits] [mlir] [mlir] Add helper to check elementwise-mappable ops with tensors and scalars (PR #154872)

Adam Siemieniuk llvmlistbot at llvm.org
Mon Aug 25 03:12:20 PDT 2025


================
@@ -108,3 +108,61 @@ func.func @cmpf(%arg0: tensor<4x?x?x8x2x?xf32>, %arg1: tensor<4x?x?x8x2x?xf32>)
   return %0 : tensor<4x?x?x8x2x?xi1>
 }
 
+// -----
+
+// Check a mix of scalar and tensor input.
----------------
adam-smnk wrote:

To be consistent with other test cases, let's interleave checks and ops.

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


More information about the Mlir-commits mailing list