PiperOrigin-RevId: 310122355
Change-Id: I0ba0e1b1e25fe28a4d9387245bdfb612eae988c0
This commit is contained in:
A. Unique TensorFlower 2020-05-06 03:40:37 -07:00 committed by TensorFlower Gardener
parent fedc6d951f
commit 3ba6676e84
3 changed files with 2 additions and 44 deletions

View File

@ -19,7 +19,7 @@ limitations under the License.
#include "mlir/Dialect/Linalg/Analysis/DependenceAnalysis.h" #include "mlir/Dialect/Linalg/Analysis/DependenceAnalysis.h"
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"
#include "mlir/Dialect/Linalg/Utils/Utils.h" // from @llvm-project #include "mlir/Dialect/Linalg/Transforms/Transforms.h" // from @llvm-project
#include "mlir/Pass/Pass.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
#include "mlir/Transforms/FoldUtils.h" // from @llvm-project #include "mlir/Transforms/FoldUtils.h" // from @llvm-project
#include "tensorflow/compiler/mlir/xla/transforms/passes.h" #include "tensorflow/compiler/mlir/xla/transforms/passes.h"

View File

@ -3097,32 +3097,6 @@ gentbl(
], ],
) )
filegroup(
name = "LinalgTransformPatternsTdFiles",
srcs = [
"include/mlir/Dialect/Linalg/Transforms/LinalgTransformPatterns.td",
":AffineOpsTdFiles",
":LinalgOpsTdFiles",
":LinalgStructuredOpsTdFiles",
":OpBaseTdFiles",
],
)
gentbl(
name = "LinalgTransformPatternsIncGen",
tbl_outs = [
(
"-gen-rewriters",
"include/mlir/Dialect/Linalg/Transforms/LinalgTransformPatterns.h.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/Linalg/Transforms/LinalgTransformPatterns.td",
td_srcs = [
":LinalgTransformPatternsTdFiles",
],
)
cc_library( cc_library(
name = "LinalgToLLVM", name = "LinalgToLLVM",
srcs = glob([ srcs = glob([
@ -3239,7 +3213,7 @@ cc_library(
"include/mlir/Dialect/Linalg/EDSC/Builders.h", "include/mlir/Dialect/Linalg/EDSC/Builders.h",
"include/mlir/Dialect/Linalg/EDSC/FoldedIntrinsics.h", "include/mlir/Dialect/Linalg/EDSC/FoldedIntrinsics.h",
"include/mlir/Dialect/Linalg/Passes.h", "include/mlir/Dialect/Linalg/Passes.h",
"include/mlir/Dialect/Linalg/Transforms/LinalgTransforms.h", "include/mlir/Dialect/Linalg/Transforms/Transforms.h",
"include/mlir/Dialect/Linalg/Utils/Utils.h", "include/mlir/Dialect/Linalg/Utils/Utils.h",
], ],
includes = ["include"], includes = ["include"],

View File

@ -16,21 +16,6 @@ cc_library(
includes = ["."], includes = ["."],
) )
gentbl(
name = "TestLinalgTransformPatternsIncGen",
tbl_outs = [
(
"-gen-rewriters",
"lib/DeclarativeTransforms/TestLinalgTransformPatterns.h.inc",
),
],
tblgen = "@llvm-project//mlir:mlir-tblgen",
td_file = "lib/DeclarativeTransforms/TestLinalgTransformPatterns.td",
td_srcs = [
"@llvm-project//mlir:LinalgTransformPatternsTdFiles",
],
)
gentbl( gentbl(
name = "TestVectorTransformPatternsIncGen", name = "TestVectorTransformPatternsIncGen",
tbl_outs = [ tbl_outs = [
@ -167,7 +152,6 @@ cc_library(
includes = ["lib/Dialect/Test"], includes = ["lib/Dialect/Test"],
deps = [ deps = [
":TestDialect", ":TestDialect",
":TestLinalgTransformPatternsIncGen",
":TestVectorTransformPatternsIncGen", ":TestVectorTransformPatternsIncGen",
"@llvm-project//llvm:support", "@llvm-project//llvm:support",
"@llvm-project//mlir:Affine", "@llvm-project//mlir:Affine",