// RUN: not npcomp-run-mlir %s \ // RUN: -invoke invalid_broadcast \ // RUN: -arg-value="dense<[1.0, 2.0]> : tensor<2xf32>" \ // RUN: -arg-value="dense<[3.0, 4.0, 5.0]> : tensor<3xf32>" \ // RUN: -shared-libs=%npcomp_runtime_shlib 2>&1 \ // RUN: | FileCheck %s // CHECK: NPCOMP: aborting: invalid broadcast func @invalid_broadcast(%arg0: tensor, %arg1: tensor) -> tensor { %0 = "tcf.add"(%arg0, %arg1) : (tensor, tensor) -> tensor return %0 : tensor }