[mlir][Linalg] NFC - Rename Linalg and Vector EDSCs to avoid collisions

A certain number of EDSCs have a named form (e.g. `linalg.matmul`) and a generic form (e.g. `linalg.generic` with matmul traits).
Despite living in different namespaces, using the same name is confusiong in clients.
Rename them as `linalg_matmul` and `linalg_generic_matmul` respectively.
This commit is contained in:
Nicolas Vasilache
2020-04-02 21:06:45 -04:00
parent 30f18ed387
commit aef0877b1b
7 changed files with 111 additions and 94 deletions

View File

@@ -30,7 +30,7 @@ Value mlir::edsc::ops::vector_contraction(
ArrayRef<StringRef>{functional::map(toString, iteratorTypes)});
}
Value mlir::edsc::ops::vector_matmul(Value A, Value B, Value C) {
Value mlir::edsc::ops::vector_contraction_matmul(Value A, Value B, Value C) {
AffineExpr m, n, k;
bindDims(ScopedContext::getContext(), m, n, k);
return vector_contraction(StructuredIndexed(A, {m, k}),