Updates LLVM usage to match
[e29552c5aff6](https://github.com/llvm/llvm-project/commit/e29552c5aff6)

PiperOrigin-RevId: 354433542
Change-Id: I2e2b4b85fb2315c7ba1c9d730554fee6f0bf3f2a
This commit is contained in:
A. Unique TensorFlower 2021-01-28 17:35:27 -08:00 committed by TensorFlower Gardener
parent c1202353c7
commit b56ed2db95
2 changed files with 12 additions and 3 deletions

View File

@ -685,8 +685,8 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
) )
# Check out LLVM and MLIR from llvm-project. # Check out LLVM and MLIR from llvm-project.
LLVM_COMMIT = "c85b6bf33c473633c9873b600f8a31fa55464e1e" LLVM_COMMIT = "e29552c5aff68c1cf4be695d8b8be327968852e8"
LLVM_SHA256 = "21710892f964bd781f95b559741264b026580e3544c500782b69b63f00b1c68d" LLVM_SHA256 = "e8d0c6b229043c4c8054daa12eecfd049ae18ff7029f7a379f63d0df620a935b"
LLVM_URLS = [ LLVM_URLS = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT), "https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
"https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT), "https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),

View File

@ -382,8 +382,9 @@ gentbl(
filegroup( filegroup(
name = "AsyncOpsTdFiles", name = "AsyncOpsTdFiles",
srcs = [ srcs = [
"include/mlir/Dialect/Async/IR/AsyncBase.td", "include/mlir/Dialect/Async/IR/AsyncDialect.td",
"include/mlir/Dialect/Async/IR/AsyncOps.td", "include/mlir/Dialect/Async/IR/AsyncOps.td",
"include/mlir/Dialect/Async/IR/AsyncTypes.td",
"include/mlir/Interfaces/ControlFlowInterfaces.td", "include/mlir/Interfaces/ControlFlowInterfaces.td",
":OpBaseTdFiles", ":OpBaseTdFiles",
":SideEffectTdFiles", ":SideEffectTdFiles",
@ -406,6 +407,14 @@ gentbl(
"-gen-dialect-decls", "-gen-dialect-decls",
"include/mlir/Dialect/Async/IR/AsyncOpsDialect.h.inc", "include/mlir/Dialect/Async/IR/AsyncOpsDialect.h.inc",
), ),
(
"-gen-typedef-decls",
"include/mlir/Dialect/Async/IR/AsyncOpsTypes.h.inc",
),
(
"-gen-typedef-defs",
"include/mlir/Dialect/Async/IR/AsyncOpsTypes.cpp.inc",
),
], ],
tblgen = ":mlir-tblgen", tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/Async/IR/AsyncOps.td", td_file = "include/mlir/Dialect/Async/IR/AsyncOps.td",