Skip to content

Commit 1eb3461

Browse files
committed
fix tests again
1 parent ce33596 commit 1eb3461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/Dialect/Linalg/fusion-elementwise.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func.func @map_ops_mixed_types(%arg0: tensor<8xf32>, %arg1: tensor<8xf32>) -> te
8989
%0 = linalg.map {math.sqrt} ins(%arg0 : tensor<8xf32>) outs(%initf : tensor<8xf32>)
9090
%1 = linalg.map {math.exp} ins(%arg1 : tensor<8xf32>) outs(%initf : tensor<8xf32>)
9191
%2 = linalg.map ins(%0, %1 : tensor<8xf32>, tensor<8xf32>) outs (%init : tensor<8xi1>)
92-
(%in0 : f32, %in1 : f32, %out : f32) {
92+
(%in0 : f32, %in1 : f32, %out : i1) {
9393
%cmp = arith.cmpf olt, %in0, %in1 : f32
9494
linalg.yield %cmp : i1
9595
}
@@ -156,7 +156,7 @@ func.func @map_multi_ops(%arg0: tensor<8xf32>, %arg1: tensor<8xf32>, %arg2: tens
156156
linalg.yield %exp : f32
157157
}
158158
%sqrt_mul = linalg.map ins(%add_exp, %arg2 : tensor<8xf32>, tensor<8xf32>) outs(%fill : tensor<8xf32>)
159-
(%in0 : f32, %in1 : f32) {
159+
(%in0 : f32, %in1 : f32, %out : f32) {
160160
%sqrt = math.sqrt %in0 : f32
161161
%mul = arith.mulf %sqrt, %in1 : f32
162162
linalg.yield %mul : f32

0 commit comments

Comments
 (0)