aboutsummaryrefslogtreecommitdiff
path: root/mlir/test/mlir-cpu-runner
diff options
context:
space:
mode:
authorNicolas Vasilache <ntv@google.com>2020-06-16 09:14:42 -0400
committerNicolas Vasilache <ntv@google.com>2020-06-16 10:46:35 -0400
commiteae76faeeae7110389047c9d1ebe90990dec3497 (patch)
tree201fa2c0c06b7b822063260f4ad67f094add89a2 /mlir/test/mlir-cpu-runner
parente02c9649699827cb7189d8662b42a829339c6ec0 (diff)
downloadllvm-eae76faeeae7110389047c9d1ebe90990dec3497.zip
llvm-eae76faeeae7110389047c9d1ebe90990dec3497.tar.gz
llvm-eae76faeeae7110389047c9d1ebe90990dec3497.tar.bz2
[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
Diffstat (limited to 'mlir/test/mlir-cpu-runner')
-rw-r--r--mlir/test/mlir-cpu-runner/linalg_integration_test.mlir2
1 files changed, 1 insertions, 1 deletions
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<?xi8> to memref<?x?xf32>
%C = view %bC[%c0][%c2, %c2] : memref<?xi8> to memref<?x?xf32>
- linalg.matmul(%A, %B, %C) : memref<?x?xf32>, memref<?x?xf32>, memref<?x?xf32>
+ linalg.matmul %A, %B, %C : (memref<?x?xf32>, memref<?x?xf32>, memref<?x?xf32>)
%res = load %C[%c0, %c1] : memref<?x?xf32>
dealloc %bC : memref<?xi8>