[mlir][arith] fixing dependencies on memref/arith

This commit is contained in:
Mogball 2021-12-30 20:39:22 +00:00
parent 9e6afbedb0
commit 4943cda398
2 changed files with 9 additions and 4 deletions

View File

@ -8,7 +8,6 @@
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
#include "mlir/Dialect/CommonFolders.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/OpImplementation.h"

View File

@ -965,6 +965,7 @@ td_library(
],
includes = ["include"],
deps = [
":ArithmeticOpsTdFiles",
":LoopLikeInterfaceTdFiles",
":OpBaseTdFiles",
":SideEffectInterfacesTdFiles",
@ -985,11 +986,17 @@ gentbl_cc_library(
"include/mlir/Dialect/Affine/IR/AffineOps.cpp.inc",
),
(
["-gen-dialect-decls"],
[
"-gen-dialect-decls",
"-dialect=affine",
],
"include/mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc",
),
(
["-gen-dialect-defs"],
[
"-gen-dialect-defs",
"-dialect=affine",
],
"include/mlir/Dialect/Affine/IR/AffineOpsDialect.cpp.inc",
),
],
@ -1864,7 +1871,6 @@ td_library(
name = "StdOpsTdFiles",
srcs = [
"include/mlir/Dialect/StandardOps/IR/Ops.td",
"include/mlir/Dialect/StandardOps/IR/StandardOpsBase.td",
],
includes = ["include"],
deps = [