@@ -19,7 +19,7 @@ module {
1919 }
2020 %in_operand_2 = tensor.empty () : tensor <64 xf32 >
2121 %out_operand_3 = tensor.empty () : tensor <64 xf32 >
22- %2 = linalg.elemwise_binary { fun = #linalg.binary_fn < add >} ins (%1#1 , %in_operand_2 : tensor <64 xf32 >, tensor <64 xf32 >) outs (%out_operand_3 : tensor <64 xf32 >) -> tensor <64 xf32 >
22+ %2 = linalg.add ins (%1#1 , %in_operand_2 : tensor <64 xf32 >, tensor <64 xf32 >) outs (%out_operand_3 : tensor <64 xf32 >) -> tensor <64 xf32 >
2323 return %2 : tensor <64 xf32 >
2424 }
2525}
@@ -50,7 +50,7 @@ module attributes {transform.with_named_sequence} {
5050// CHECK: %[[INSERT_MAT:.*]] = tensor.insert_slice %[[MAT_OUT]] into %[[FIRST_OUT_ARG]][%[[IV]]] [32] [1]
5151// CHECK: %[[SLICE_OPERAND2:.*]] = tensor.extract_slice %0[%[[IV]]] [32] [1]
5252// CHECK: %[[SLICE_OUT:.*]] = tensor.extract_slice %[[ELEM_OUT_ARG]][%[[IV]]] [32] [1]
53- // CHECK: %[[ELEM_OUT:.*]] = linalg.elemwise_binary {fun = #linalg.binary_fn< add>}
53+ // CHECK: %[[ELEM_OUT:.*]] = linalg.add
5454// CHECK-SAME: ins(%[[MAT_OUT]], %[[SLICE_OPERAND2]] :
5555// CHECK-SAME: outs(%[[SLICE_OUT]] :
5656// CHECK: %[[INSERT_ELEM:.*]] = tensor.insert_slice %[[ELEM_OUT]] into %[[ELEM_OUT_ARG]][%[[IV]]] [32] [1]
@@ -76,7 +76,7 @@ module {
7676 }
7777 %in_operand_2 = tensor.empty () : tensor <64 x64 xf32 >
7878 %out_operand_3 = tensor.empty () : tensor <64 x64 xf32 >
79- %2 = linalg.elemwise_binary { fun = #linalg.binary_fn < add >} ins (%1#1 , %in_operand_2 : tensor <64 x64 xf32 >, tensor <64 x64 xf32 >) outs (%out_operand_3 : tensor <64 x64 xf32 >) -> tensor <64 x64 xf32 >
79+ %2 = linalg.add ins (%1#1 , %in_operand_2 : tensor <64 x64 xf32 >, tensor <64 x64 xf32 >) outs (%out_operand_3 : tensor <64 x64 xf32 >) -> tensor <64 x64 xf32 >
8080 return %2 : tensor <64 x64 xf32 >
8181 }
8282}
@@ -109,7 +109,7 @@ module attributes {transform.with_named_sequence} {
109109// CHECK-SAME: outs(%[[MAT_OUT_SLICE]] :
110110// CHECK: %[[SLICE_OPERAND2:.*]] = tensor.extract_slice %[[OUT_INIT]][%[[IV1]], %[[IV2]]] [32, 32] [1, 1]
111111// CHECK: %[[SLICE_OUT:.*]] = tensor.extract_slice %[[ELEM_OUT_ARG]][%[[IV1]], %[[IV2]]] [32, 32] [1, 1]
112- // CHECK: %[[ELEM_OUT:.*]] = linalg.elemwise_binary {fun = #linalg.binary_fn< add>}
112+ // CHECK: %[[ELEM_OUT:.*]] = linalg.add
113113// CHECK-SAME: ins(%[[MAT_OUT]], %[[SLICE_OPERAND2]] :
114114// CHECK-SAME: outs(%[[SLICE_OUT]] :
115115// CHECK: scf.forall.in_parallel {
0 commit comments