PiperOrigin-RevId: 317105768
Change-Id: I76b13f63a85dd4b8bbcaff3fd1ca624b82411079
This commit is contained in:
A. Unique TensorFlower 2020-06-18 08:20:28 -07:00 committed by TensorFlower Gardener
parent 4f5c65d449
commit 49e3e63dd7
2 changed files with 22 additions and 2 deletions

View File

@ -710,8 +710,8 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
)
# Check out LLVM and MLIR from llvm-project.
LLVM_COMMIT = "e3836fe1a5562875396705369353078ab07cf07a"
LLVM_SHA256 = "6a78815e2c71c560a11c8c1740d31b88a607d82b7ccc61dc142bef0f1f3fbde8"
LLVM_COMMIT = "92d8ad02e92fed3884169ba5d98056fe4fa5660d"
LLVM_SHA256 = "a4995ace7ddaef0c49293dc65771f58ef1fea96ebe1f39aa0a2d6d75d07f6cc7"
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

@ -738,12 +738,32 @@ cc_library(
":Pass",
":SCFDialect",
":Shape",
":ShapeToStandardPatternsIncGen",
":StandardOps",
":Support",
":Transforms",
],
)
gentbl(
name = "ShapeToStandardPatternsIncGen",
strip_include_prefix = "include/mlir/Conversion/ShapeToStandard",
tbl_outs = [
(
"-gen-rewriters",
"include/mlir/Conversion/ShapeToStandard/ShapeToStandardPatterns.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "lib/Conversion/ShapeToStandard/ShapeToStandardPatterns.td",
td_srcs = [
":StdOpsTdFiles",
"include/mlir/Dialect/Shape/IR/ShapeBase.td",
"include/mlir/Dialect/Shape/IR/ShapeOps.td",
"include/mlir/Interfaces/InferTypeOpInterface.td",
],
)
cc_library(
name = "ShapeToSCF",
srcs = glob([