From eae76faeeae7110389047c9d1ebe90990dec3497 Mon Sep 17 00:00:00 2001 From: Nicolas Vasilache Date: Tue, 16 Jun 2020 09:14:42 -0400 Subject: [mlir][Linalg] Retire C++ MatmulOp in favor of a linalg-ods-gen'd op. Summary: This revision replaces MatmulOp, now that DRR rules have been dropped. This revision also fixes minor parsing bugs and a plugs a few holes to get e2e paths working (e.g. library call emission). During the replacement the i32 version had to be dropped because only the EDSC operators +, *, etc support type inference. Deciding on a type-polymorphic behavior, and implementing it, is left for future work. Reviewers: aartbik Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, msifontes Tags: #mlir Differential Revision: https://reviews.llvm.org/D81935 --- mlir/test/mlir-cpu-runner/linalg_integration_test.mlir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mlir/test/mlir-cpu-runner') diff --git a/mlir/test/mlir-cpu-runner/linalg_integration_test.mlir b/mlir/test/mlir-cpu-runner/linalg_integration_test.mlir index 43641fd..dd6feb9 100644 --- a/mlir/test/mlir-cpu-runner/linalg_integration_test.mlir +++ b/mlir/test/mlir-cpu-runner/linalg_integration_test.mlir @@ -83,7 +83,7 @@ func @matmul() -> f32 { %B = view %bB[%c0][%c16, %c2] : memref to memref %C = view %bC[%c0][%c2, %c2] : memref to memref - linalg.matmul(%A, %B, %C) : memref, memref, memref + linalg.matmul %A, %B, %C : (memref, memref, memref) %res = load %C[%c0, %c1] : memref dealloc %bC : memref -- cgit v1.1