Skip to content

Commit 269060b

Browse files
committed
match linalg.fill
1 parent 2b9456f commit 269060b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

enzyme/test/MLIR/ReverseMode/alloca.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func.func @dfoo_flat(%x: f64, %dout : f64) -> f64 {
2828

2929
// CHECK: %[[DBUF:.+]] = memref.alloca() : memref<f64>
3030
// CHECK: %[[ZERO_INIT:.+]] = arith.constant 0.000000e+00 : f64
31-
// CHECK: memref.store %[[ZERO_INIT]], %[[DBUF]][] : memref<f64>
31+
// CHECK: linalg.fill ins(%[[ZERO_INIT]] : f64) outs(%[[DBUF]] : memref<f64>)
3232

3333
// CHECK: %[[BUF:.+]] = memref.alloca() : memref<f64>
3434
// CHECK: "enzyme.push"(%[[CS]], %[[DBUF]]) : (!enzyme.Cache<memref<f64>>, memref<f64>) -> ()

0 commit comments

Comments
 (0)