Integrate TF at tensorflow/tensorflow@76c685252469
Updates TF to
[76c685252469](https://github.com/tensorflow/tensorflow/commit/76c685252469)
matching
[d0c95808e50c](https://github.com/llvm/llvm-project/commit/d0c95808e50c)
and copies over the LLVM BUILD files.
`./scripts/git/update_to_llvm_syncpoint.py`
Automated submodule bump from .github/workflows/update_tf.yml
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/iree/pull/3452 from google:auto_submodule_update dd54d71e94154ef3be92986c45fddff2ff4be909
PiperOrigin-RevId: 337100936
diff --git a/SUBMODULE_VERSIONS b/SUBMODULE_VERSIONS
index b4dbc41..f8c9f3e 100644
--- a/SUBMODULE_VERSIONS
+++ b/SUBMODULE_VERSIONS
@@ -14,7 +14,7 @@
685f86471e9d26b3eb7676695a2e2cefb4551ae9 third_party/spirv_cross
f8bf11a0253a32375c32cad92c841237b96696c0 third_party/spirv_headers
57eb48aed36160c4876bc8310d9ca84d42ee9e2a third_party/swiftshader
-db0f8320ff13d8e26dc9d13d13a90a40e755c011 third_party/tensorflow
+76c685252469e800aa4486c50f6a390f26b806a7 third_party/tensorflow
a9a09ab0940408898fccfdcfe2bb8dc19b50f13c third_party/tracy
9bd3f561bcee3f01d22912de10bb07ce4e23d378 third_party/vulkan_headers
909f36b714c9239ee0b112a321220213a474ba53 third_party/vulkan_memory_allocator
diff --git a/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/test/BUILD.bazel b/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/test/BUILD.bazel
index d88190c..c467880 100644
--- a/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/test/BUILD.bazel
+++ b/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/test/BUILD.bazel
@@ -17,6 +17,21 @@
includes = ["."],
)
+filegroup(
+ name = "TestOpTdFiles",
+ srcs = [
+ "lib/Dialect/Test/TestOps.td",
+ "@llvm-project//mlir:OpBaseTdFiles",
+ "@llvm-project//mlir:include/mlir/IR/OpAsmInterface.td",
+ "@llvm-project//mlir:include/mlir/IR/RegionKindInterface.td",
+ "@llvm-project//mlir:include/mlir/IR/SymbolInterfaces.td",
+ "@llvm-project//mlir:include/mlir/Interfaces/CallInterfaces.td",
+ "@llvm-project//mlir:include/mlir/Interfaces/ControlFlowInterfaces.td",
+ "@llvm-project//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
+ "@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
+ ],
+)
+
gentbl(
name = "TestOpsIncGen",
strip_include_prefix = "lib/Dialect/Test",
@@ -57,14 +72,7 @@
tblgen = "@llvm-project//mlir:mlir-tblgen",
td_file = "lib/Dialect/Test/TestOps.td",
td_srcs = [
- "@llvm-project//mlir:OpBaseTdFiles",
- "@llvm-project//mlir:include/mlir/IR/OpAsmInterface.td",
- "@llvm-project//mlir:include/mlir/IR/RegionKindInterface.td",
- "@llvm-project//mlir:include/mlir/IR/SymbolInterfaces.td",
- "@llvm-project//mlir:include/mlir/Interfaces/CallInterfaces.td",
- "@llvm-project//mlir:include/mlir/Interfaces/ControlFlowInterfaces.td",
- "@llvm-project//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
- "@llvm-project//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
+ ":TestOpTdFiles",
],
test = True,
)
@@ -90,11 +98,34 @@
test = True,
)
+gentbl(
+ name = "TestTypeDefsIncGen",
+ strip_include_prefix = "lib/Dialect/Test",
+ tbl_outs = [
+ (
+ "-gen-typedef-decls",
+ "lib/Dialect/Test/TestTypeDefs.h.inc",
+ ),
+ (
+ "-gen-typedef-defs",
+ "lib/Dialect/Test/TestTypeDefs.cpp.inc",
+ ),
+ ],
+ tblgen = "@llvm-project//mlir:mlir-tblgen",
+ td_file = "lib/Dialect/Test/TestTypeDefs.td",
+ td_srcs = [
+ ":TestOpTdFiles",
+ ],
+ test = True,
+)
+
cc_library(
name = "TestDialect",
srcs = [
"lib/Dialect/Test/TestDialect.cpp",
"lib/Dialect/Test/TestPatterns.cpp",
+ "lib/Dialect/Test/TestTraits.cpp",
+ "lib/Dialect/Test/TestTypes.cpp",
],
hdrs = [
"lib/Dialect/Test/TestDialect.h",
@@ -106,6 +137,7 @@
deps = [
":TestInterfacesIncGen",
":TestOpsIncGen",
+ ":TestTypeDefsIncGen",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:ControlFlowInterfaces",
"@llvm-project//mlir:DerivedAttributeOpInterface",