From b56ed2db95f1d9c3cf5c2db5e58f7faec6c42710 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 28 Jan 2021 17:35:27 -0800 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@e29552c5aff6 Updates LLVM usage to match [e29552c5aff6](https://github.com/llvm/llvm-project/commit/e29552c5aff6) PiperOrigin-RevId: 354433542 Change-Id: I2e2b4b85fb2315c7ba1c9d730554fee6f0bf3f2a --- tensorflow/workspace.bzl | 4 ++-- third_party/mlir/BUILD | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index cb57f62253e..3bc9453cf00 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -685,8 +685,8 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""): ) # Check out LLVM and MLIR from llvm-project. - LLVM_COMMIT = "c85b6bf33c473633c9873b600f8a31fa55464e1e" - LLVM_SHA256 = "21710892f964bd781f95b559741264b026580e3544c500782b69b63f00b1c68d" + LLVM_COMMIT = "e29552c5aff68c1cf4be695d8b8be327968852e8" + LLVM_SHA256 = "e8d0c6b229043c4c8054daa12eecfd049ae18ff7029f7a379f63d0df620a935b" LLVM_URLS = [ "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), diff --git a/third_party/mlir/BUILD b/third_party/mlir/BUILD index fdb207f359a..112536d3ee3 100644 --- a/third_party/mlir/BUILD +++ b/third_party/mlir/BUILD @@ -382,8 +382,9 @@ gentbl( filegroup( name = "AsyncOpsTdFiles", 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/AsyncTypes.td", "include/mlir/Interfaces/ControlFlowInterfaces.td", ":OpBaseTdFiles", ":SideEffectTdFiles", @@ -406,6 +407,14 @@ gentbl( "-gen-dialect-decls", "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", td_file = "include/mlir/Dialect/Async/IR/AsyncOps.td",