// RUN: npcomp-opt <%s -pass-pipeline=refback-lowering-pipeline | FileCheck %s --dump-input=fail // RUN: npcomp-opt <%s -pass-pipeline=refback-lowering-pipeline{optimize} | FileCheck %s --dump-input=fail // CHECK-LABEL: func @rank1 func @rank1(%arg0: tensor, %arg1: tensor) -> tensor { %0 = tcf.add %arg0, %arg1 : (tensor, tensor) -> tensor return %0 : tensor } // CHECK-LABEL: func @rank2 func @rank2(%arg0: tensor, %arg1: tensor) -> tensor { %0 = tcf.add %arg0, %arg1 : (tensor, tensor) -> tensor return %0 : tensor } // CHxCK-LABEL: func @rank1and2 func @rank1and2(%arg0: tensor, %arg1: tensor) -> tensor { %0 = tcf.add %arg0, %arg1 : (tensor, tensor) -> tensor return %0 : tensor }