Update XLA LLVM to r308712
PiperOrigin-RevId: 162743186
This commit is contained in:
parent
1483328a27
commit
1afeafe016
@ -495,11 +495,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
|
||||
temp_workaround_http_archive(
|
||||
name = "llvm",
|
||||
urls = [
|
||||
"http://mirror.bazel.build/github.com/llvm-mirror/llvm/archive/9889fe2290766430b99a2d4fadbc5ba92f8004b6.tar.gz",
|
||||
"https://github.com/llvm-mirror/llvm/archive/9889fe2290766430b99a2d4fadbc5ba92f8004b6.tar.gz",
|
||||
"http://mirror.bazel.build/github.com/llvm-mirror/llvm/archive/4d98985c94c36b9eb4396c91fe0a72a0c5f707b2.tar.gz",
|
||||
"https://github.com/llvm-mirror/llvm/archive/4d98985c94c36b9eb4396c91fe0a72a0c5f707b2.tar.gz",
|
||||
],
|
||||
sha256 = "00fb4a83a4dd1c046b19730a80e2183acc647715b7a8dcc8e808d49ea5530ca8",
|
||||
strip_prefix = "llvm-9889fe2290766430b99a2d4fadbc5ba92f8004b6",
|
||||
sha256 = "1a085c995522fa19900568c03eb595b425df53842c7f281e3ab79aaa04affffa",
|
||||
strip_prefix = "llvm-4d98985c94c36b9eb4396c91fe0a72a0c5f707b2",
|
||||
build_file = str(Label("//third_party/llvm:llvm.BUILD")),
|
||||
repository = tf_repo_name,
|
||||
)
|
||||
|
31
third_party/llvm/llvm.BUILD
vendored
31
third_party/llvm/llvm.BUILD
vendored
@ -386,6 +386,7 @@ llvm_target_list = [
|
||||
"tbl_outs": [
|
||||
("-gen-register-bank", "lib/Target/ARM/ARMGenRegisterBank.inc"),
|
||||
("-gen-register-info", "lib/Target/ARM/ARMGenRegisterInfo.inc"),
|
||||
("-gen-searchable-tables", "lib/Target/ARM/ARMGenSystemRegister.inc"),
|
||||
("-gen-instr-info", "lib/Target/ARM/ARMGenInstrInfo.inc"),
|
||||
("-gen-emitter", "lib/Target/ARM/ARMGenMCCodeEmitter.inc"),
|
||||
("-gen-pseudo-lowering", "lib/Target/ARM/ARMGenMCPseudoLowering.inc"),
|
||||
@ -879,6 +880,7 @@ cc_library(
|
||||
deps = [
|
||||
":arm_desc",
|
||||
":arm_info",
|
||||
":arm_utils",
|
||||
":config",
|
||||
":mc",
|
||||
":mc_parser",
|
||||
@ -903,6 +905,7 @@ cc_library(
|
||||
deps = [
|
||||
":arm_info",
|
||||
":arm_target_gen",
|
||||
":arm_utils",
|
||||
":config",
|
||||
":mc",
|
||||
":support",
|
||||
@ -928,6 +931,7 @@ cc_library(
|
||||
":arm_asm_printer",
|
||||
":arm_desc",
|
||||
":arm_info",
|
||||
":arm_utils",
|
||||
":asm_printer",
|
||||
":code_gen",
|
||||
":config",
|
||||
@ -1016,6 +1020,29 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "arm_utils",
|
||||
srcs = glob([
|
||||
"lib/Target/ARM/Utils/*.c",
|
||||
"lib/Target/ARM/Utils/*.cpp",
|
||||
"lib/Target/ARM/Utils/*.inc",
|
||||
"lib/Target/ARM/MCTargetDesc/*.h",
|
||||
]),
|
||||
hdrs = glob([
|
||||
"include/llvm/Target/ARM/Utils/*.h",
|
||||
"include/llvm/Target/ARM/Utils/*.def",
|
||||
"include/llvm/Target/ARM/Utils/*.inc",
|
||||
"lib/Target/ARM/Utils/*.h",
|
||||
]),
|
||||
copts = ["-Iexternal/llvm/lib/Target/ARM"],
|
||||
deps = [
|
||||
":arm_target_gen",
|
||||
":config",
|
||||
":mc",
|
||||
":support",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "asm_parser",
|
||||
srcs = glob([
|
||||
@ -1129,6 +1156,7 @@ cc_library(
|
||||
":config",
|
||||
":core",
|
||||
":mc",
|
||||
":object",
|
||||
":support",
|
||||
],
|
||||
)
|
||||
@ -1182,7 +1210,7 @@ cc_library(
|
||||
"include/llvm/IR/*.def",
|
||||
"include/llvm/IR/*.inc",
|
||||
"include/llvm/*.h",
|
||||
]) + ["include/llvm/Support/VCSRevision.h"],
|
||||
]),
|
||||
deps = [
|
||||
":attributes_compat_gen",
|
||||
":attributes_gen",
|
||||
@ -1950,6 +1978,7 @@ cc_library(
|
||||
]) + [
|
||||
"include/llvm/BinaryFormat/MachO.def",
|
||||
"include/llvm/Support/DataTypes.h",
|
||||
"include/llvm/Support/VCSRevision.h",
|
||||
"include/llvm/ExecutionEngine/ObjectMemoryBuffer.h",
|
||||
],
|
||||
deps = [
|
||||
|
Loading…
Reference in New Issue
Block a user