[TF:XLA] Bump open source llvm revision to r356241

PiperOrigin-RevId: 238716497
This commit is contained in:
Sanjoy Das 2019-03-15 14:58:53 -07:00 committed by TensorFlower Gardener
parent 5feba9d4a7
commit 1aa16e62ee
2 changed files with 31 additions and 4 deletions

View File

@ -518,11 +518,11 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
tf_http_archive(
name = "llvm",
build_file = clean_dep("//third_party/llvm:llvm.autogenerated.BUILD"),
sha256 = "fc5a898c5062140bbd2ebec46f44ed4e0637c2b1510800079057355af8997a6c",
strip_prefix = "llvm-e83676d5104ca4d90e404066ea4196a2488451f8",
sha256 = "e2eb01c17a15b28efa3611d6a96a9c4848d31727c9cb8a7f56841b55f6b80491",
strip_prefix = "llvm-20744f0b1f336b4d82706a38ea2706be154d9791",
urls = [
"https://mirror.bazel.build/github.com/llvm-mirror/llvm/archive/e83676d5104ca4d90e404066ea4196a2488451f8.tar.gz",
"https://github.com/llvm-mirror/llvm/archive/e83676d5104ca4d90e404066ea4196a2488451f8.tar.gz",
"https://mirror.bazel.build/github.com/llvm-mirror/llvm/archive/20744f0b1f336b4d82706a38ea2706be154d9791.tar.gz",
"https://github.com/llvm-mirror/llvm/archive/20744f0b1f336b4d82706a38ea2706be154d9791.tar.gz",
],
)

View File

@ -801,6 +801,7 @@ cc_library(
":global_i_sel",
":ipo",
":mc",
":mir_parser",
":scalar",
":selection_dag",
":support",
@ -1491,6 +1492,32 @@ cc_library(
],
)
cc_library(
name = "mir_parser",
srcs = glob([
"lib/CodeGen/MIRParser/*.c",
"lib/CodeGen/MIRParser/*.cpp",
"lib/CodeGen/MIRParser/*.inc",
"lib/CodeGen/MIRParser/*.h",
]),
hdrs = glob([
"include/llvm/CodeGen/MIRParser/*.h",
"include/llvm/CodeGen/MIRParser/*.def",
"include/llvm/CodeGen/MIRParser/*.inc",
]),
copts = llvm_copts,
deps = [
":asm_parser",
":binary_format",
":code_gen",
":config",
":core",
":mc",
":support",
":target",
],
)
cc_library(
name = "nvptx_asm_printer",
srcs = glob([