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

PiperOrigin-RevId: 361090577
Change-Id: I0da531a831e3344bbb2ba7eec681f7f6e9ef30bf
This commit is contained in:
A. Unique TensorFlower 2021-03-05 00:36:43 -08:00 committed by TensorFlower Gardener
parent 460e000de3
commit e6966f066a
2 changed files with 25 additions and 2 deletions
third_party

View File

@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive")
def repo(name):
"""Imports LLVM."""
LLVM_COMMIT = "b3a33553aec7b3a9e702da0ae6669eab1a6b14ae"
LLVM_SHA256 = "e07312bd65c4609561c02758e214ca814c4f99dd0d749b78b636873518cd6589"
LLVM_COMMIT = "cedc53254a5d2e04e79cc0e7bf5a8c71fafa295e"
LLVM_SHA256 = "7457f8395f59342567b742409c953aad9b74dd7603df72e5e557fa6c4afa8088"
tf_http_archive(
name = name,

View File

@ -81,6 +81,28 @@ gentbl(
deps = [":BuiltinDialectTdFiles"],
)
gentbl(
name = "BuiltinAttributesIncGen",
strip_include_prefix = "include",
tbl_outs = [
(
"--gen-attrdef-decls",
"include/mlir/IR/BuiltinAttributes.h.inc",
),
(
"--gen-attrdef-defs",
"include/mlir/IR/BuiltinAttributes.cpp.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/IR/BuiltinAttributes.td",
td_srcs = [
"include/mlir/IR/BuiltinAttributes.td",
"include/mlir/IR/BuiltinDialect.td",
":OpBaseTdFiles",
],
)
gentbl(
name = "BuiltinOpsIncGen",
strip_include_prefix = "include",
@ -134,6 +156,7 @@ cc_library(
],
includes = ["include"],
deps = [
":BuiltinAttributesIncGen",
":BuiltinDialectIncGen",
":BuiltinOpsIncGen",
":BuiltinTypesIncGen",