blob: 8b1cee32b200bdee0e90b6b78ad3413d67ecbea3 [file] [log] [blame]
// RUN: mhlo-tosa-opt %s --tosa-legalize-mhlo | FileCheck %s
// CHECK-LABEL: @select
func.func @select(%arg0 : tensor<10xi1>, %arg1 : tensor<10xf32>, %arg2 : tensor<10xf32>) -> tensor<10xf32> {
// CHECK: tosa.select
%0 = "mhlo.select"(%arg0, %arg1, %arg2) : (tensor<10xi1>, tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
return %0 : tensor<10xf32>
}