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

PiperOrigin-RevId: 328919376
Change-Id: I7b14e2e6d8f05c662efa38370f3f73d69831b6fc
This commit is contained in:
Benjamin Kramer 2020-08-28 04:57:18 -07:00 committed by TensorFlower Gardener
parent 0f17988fd9
commit 24aa11dd48
2 changed files with 28 additions and 2 deletions

View File

@ -722,8 +722,8 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
)
# Check out LLVM and MLIR from llvm-project.
LLVM_COMMIT = "b5924a8e27536d19dd5c4d302db29fb6163d5faa"
LLVM_SHA256 = "ec8885fd0fc4068d0420bfb92b10bf200a240dca8a897dfeccfacf72fba310e2"
LLVM_COMMIT = "85dacca29f8280fe72ee00adf3678ba06a9e2348"
LLVM_SHA256 = "e10aeac0b9d37d195fba2d435f9824eed0de3177c312c4c33142eb0843534f68"
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),

View File

@ -595,6 +595,7 @@ cc_library(
":LinalgToLLVM",
":LinalgToSPIRV",
":LinalgToStandard",
":OpenMPToLLVM",
":SCFToGPUPass",
":SCFToStandard",
":SPIRVToLLVM",
@ -2989,6 +2990,7 @@ cc_library(
":NVVMDialect",
":OpenACCDialect",
":OpenMPDialect",
":OpenMPToLLVM",
":PDLDialect",
":PDLInterpDialect",
":QuantOps",
@ -3415,6 +3417,30 @@ cc_library(
],
)
cc_library(
name = "OpenMPToLLVM",
srcs = glob([
"lib/Conversion/OpenMPToLLVM/*.cpp",
"lib/Conversion/OpenMPToLLVM/*.h",
]) + ["lib/Conversion/PassDetail.h"],
hdrs = glob([
"include/mlir/Conversion/OpenMPToLLVM/*.h",
]),
includes = ["include"],
deps = [
":ConversionPassIncGen",
":IR",
":LLVMDialect",
":OpenMPDialect",
":Pass",
":StandardOps",
":StandardToLLVM",
":Transforms",
"@llvm-project//llvm:Core",
"@llvm-project//llvm:Support",
],
)
## QuantOps dialect
filegroup(
name = "QuantizationOpsTdFiles",