Bump open source llvm revision to 35cf2f42dda4d708741e06570b2dbe91cec4dc41

PiperOrigin-RevId: 308026811
Change-Id: I25760fe9b2c07b267ef3fd5a61122392cfa8e2f9
This commit is contained in:
Benjamin Kramer 2020-04-23 05:02:10 -07:00 committed by TensorFlower Gardener
parent da0f1a08b7
commit 0729548268
4 changed files with 8 additions and 3 deletions

View File

@ -666,8 +666,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 = "22219cfc6a2a752c53238df4ceea342672392818" LLVM_COMMIT = "35cf2f42dda4d708741e06570b2dbe91cec4dc41"
LLVM_SHA256 = "e8d6b4a5d52cb78f8464b716a1c97e0d5bb631cf56012a6a9872c15c720738db" LLVM_SHA256 = "c522ae8860a3cc5807d195d521cc1fc5ef3d27c4598762ea7e38185cef71fe05"
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

@ -1934,6 +1934,7 @@ cc_library(
]), ]),
copts = llvm_copts, copts = llvm_copts,
deps = [ deps = [
":binary_format",
":config", ":config",
":debug_info_code_view", ":debug_info_code_view",
":debug_info_msf", ":debug_info_msf",

View File

@ -2692,6 +2692,10 @@ cc_binary(
srcs = glob([ srcs = glob([
"tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp", "tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp",
]), ]),
linkopts = [
"-lm",
"-lpthread",
],
deps = [ deps = [
":IR", ":IR",
":Support", ":Support",

View File

@ -21,7 +21,7 @@ def gentbl(name, tblgen, td_file, tbl_outs, td_srcs = [], td_includes = [], stri
srcs += [td_file] srcs += [td_file]
td_includes_cmd = ["-I external/llvm-project/mlir/include -I external/org_tensorflow"] td_includes_cmd = ["-I external/llvm-project/mlir/include -I external/org_tensorflow"]
td_includes_cmd += ["-I $(GENDIR)/third_party/llvm/llvm-project/mlir/include"] td_includes_cmd += ["-I $(GENDIR)/external/llvm-project/mlir/include"]
for td_include in td_includes: for td_include in td_includes:
td_includes_cmd += ["-I%s" % td_include] td_includes_cmd += ["-I%s" % td_include]
local_inc = "-I $$(dirname $(location %s))" % td_file local_inc = "-I $$(dirname $(location %s))" % td_file