// RUN: npcomp-opt <%s | npcomp-opt | FileCheck %s --dump-input=fail // CHECK-LABEL: func @binary_elementwise func @binary_elementwise(%arg0: tensor, %arg1: tensor) { // CHECK: tcf.add %arg0, %arg1 : (tensor, tensor) -> tensor // CHECK: tcf.max %arg0, %arg1 : (tensor, tensor) -> tensor // CHECK: tcf.exp %arg0 : tensor %0 = tcf.add %arg0, %arg1 : (tensor, tensor) -> tensor %1 = tcf.max %arg0, %arg1 : (tensor, tensor) -> tensor %2 = tcf.exp %arg0 : tensor return } // CHECK-LABEL: func @matmul func @matmul(%arg0: tensor, %arg1: tensor) -> tensor { // CHECK: tcf.matmul %arg0, %arg1 : (tensor, tensor) -> tensor %0 = tcf.matmul %arg0, %arg1 : (tensor, tensor) -> tensor return %0 : tensor }