Integrate LLVM at https://github.com/llvm/llvm-project/commit/307cfdf53386
PiperOrigin-RevId: 310122355 Change-Id: I0ba0e1b1e25fe28a4d9387245bdfb612eae988c0
This commit is contained in:
parent
fedc6d951f
commit
3ba6676e84
@ -19,7 +19,7 @@ limitations under the License.
|
||||
#include "mlir/Dialect/Linalg/Analysis/DependenceAnalysis.h"
|
||||
#include "absl/memory/memory.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/Transforms/FoldUtils.h" // from @llvm-project
|
||||
#include "tensorflow/compiler/mlir/xla/transforms/passes.h"
|
||||
|
28
third_party/mlir/BUILD
vendored
28
third_party/mlir/BUILD
vendored
@ -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(
|
||||
name = "LinalgToLLVM",
|
||||
srcs = glob([
|
||||
@ -3239,7 +3213,7 @@ cc_library(
|
||||
"include/mlir/Dialect/Linalg/EDSC/Builders.h",
|
||||
"include/mlir/Dialect/Linalg/EDSC/FoldedIntrinsics.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",
|
||||
],
|
||||
includes = ["include"],
|
||||
|
16
third_party/mlir/test.BUILD
vendored
16
third_party/mlir/test.BUILD
vendored
@ -16,21 +16,6 @@ cc_library(
|
||||
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(
|
||||
name = "TestVectorTransformPatternsIncGen",
|
||||
tbl_outs = [
|
||||
@ -167,7 +152,6 @@ cc_library(
|
||||
includes = ["lib/Dialect/Test"],
|
||||
deps = [
|
||||
":TestDialect",
|
||||
":TestLinalgTransformPatternsIncGen",
|
||||
":TestVectorTransformPatternsIncGen",
|
||||
"@llvm-project//llvm:support",
|
||||
"@llvm-project//mlir:Affine",
|
||||
|
Loading…
Reference in New Issue
Block a user