From ee74b70ee522c5490e7acc73c3349d62c36f634b Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 22 Jul 2020 20:45:35 -0700 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@99ad956fdaee Updates LLVM usage to match [99ad956fdaee](https://github.com/llvm/llvm-project/commit/99ad956fdaee) PiperOrigin-RevId: 322713350 Change-Id: Ie7ac795ce9dde327a1bd41db99d352b83cbf0b1f --- tensorflow/workspace.bzl | 4 ++-- third_party/llvm/llvm.autogenerated.BUILD | 4 ++-- third_party/mlir/BUILD | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index 2cce1bd0dfa..586bda6a3a2 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -711,8 +711,8 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""): ) # Check out LLVM and MLIR from llvm-project. - LLVM_COMMIT = "5623da56d07b2fa434825af0f3e8494afacf3c52" - LLVM_SHA256 = "dce02df09be24922304218e55fb5d4688ec835dcf7a9f9050d61cd70c0ed8706" + LLVM_COMMIT = "99ad956fdaee5398fdcf46fa49cb433cf52dc461" + LLVM_SHA256 = "e48f529063cc31e5f5844f7395fbecb0a3e9cba0bcbeafa40f5001273bad3c51" 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/llvm/llvm.autogenerated.BUILD b/third_party/llvm/llvm.autogenerated.BUILD index fb1eff30e06..befc20c4fab 100644 --- a/third_party/llvm/llvm.autogenerated.BUILD +++ b/third_party/llvm/llvm.autogenerated.BUILD @@ -155,10 +155,10 @@ gentbl( name = "InstCombineTableGen", tbl_outs = [( "-gen-searchable-tables", - "lib/Transforms/InstCombine/InstCombineTables.inc", + "lib/Target/AMDGPU/InstCombineTables.inc", )], tblgen = ":llvm-tblgen", - td_file = "lib/Transforms/InstCombine/InstCombineTables.td", + td_file = "lib/Target/AMDGPU/InstCombineTables.td", td_srcs = glob([ "include/llvm/CodeGen/*.td", "include/llvm/IR/Intrinsics*.td", diff --git a/third_party/mlir/BUILD b/third_party/mlir/BUILD index 12f73c54ec6..ae413a160d9 100644 --- a/third_party/mlir/BUILD +++ b/third_party/mlir/BUILD @@ -500,6 +500,7 @@ cc_library( deps = [ ":Affine", ":IR", + ":Support", "@llvm-project//llvm:Support", ], )