diff options
author | Nicolas Vasilache <ntv@google.com> | 2019-08-19 17:11:12 -0700 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-08-19 17:11:38 -0700 |
commit | b628194013088e7b04f25d776908b4dd96ea7bbd (patch) | |
tree | 9348fe1bd5afd802f79aa73654f6f098d967abfd /mlir/lib/Dialect/Linalg/LinalgRegistration.cpp | |
parent | 774b37b89b88e063aa4df47bd2637cf51283740c (diff) | |
download | bcm5719-llvm-b628194013088e7b04f25d776908b4dd96ea7bbd.tar.gz bcm5719-llvm-b628194013088e7b04f25d776908b4dd96ea7bbd.zip |
Move Linalg and VectorOps dialects to the Dialect subdir - NFC
PiperOrigin-RevId: 264277760
Diffstat (limited to 'mlir/lib/Dialect/Linalg/LinalgRegistration.cpp')
-rw-r--r-- | mlir/lib/Dialect/Linalg/LinalgRegistration.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mlir/lib/Dialect/Linalg/LinalgRegistration.cpp b/mlir/lib/Dialect/Linalg/LinalgRegistration.cpp new file mode 100644 index 00000000000..df21ffa88ac --- /dev/null +++ b/mlir/lib/Dialect/Linalg/LinalgRegistration.cpp @@ -0,0 +1,25 @@ +//===- LinalgRegistration.cpp - Register the linalg dialect statically ----===// +// +// Copyright 2019 The MLIR Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ============================================================================= + +#include "mlir/Dialect/Linalg/IR/LinalgOps.h" +#include "mlir/Dialect/Linalg/IR/LinalgTypes.h" + +using namespace mlir; +using namespace mlir::linalg; + +// Static initialization for LinalgOps dialect registration. +static DialectRegistration<LinalgDialect> LinalgOps; |