Integrate TF at tensorflow/tensorflow@2e56481abcef Updates TF to [2e56481abcef](https://github.com/tensorflow/tensorflow/commit/2e56481abcef) matching [93377888ae89](https://github.com/llvm/llvm-project/commit/93377888ae89) and copies over the LLVM BUILD files. `./scripts/git/update_to_llvm_syncpoint.py --tensorflow_commit=LATEST_MATCH` COPYBARA_INTEGRATE_REVIEW=https://github.com/google/iree/pull/3432 from ScottTodd:tf-submodule-update a29df219b5711d66bd0484a85f2cd7941f0e6a60 PiperOrigin-RevId: 336684138
diff --git a/SUBMODULE_VERSIONS b/SUBMODULE_VERSIONS index 63d437a..b61cdfe 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 -9dfedbd7f0fc7f37dd8fac30bcc76c290ba4ebc7 third_party/tensorflow +2e56481abcef1dd1625fba465a5d02ee6b347842 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/llvm/BUILD.bazel b/build_tools/bazel/third_party_import/llvm-project/overlay/llvm/BUILD.bazel index e0d64fe..5790059 100644 --- a/build_tools/bazel/third_party_import/llvm-project/overlay/llvm/BUILD.bazel +++ b/build_tools/bazel/third_party_import/llvm-project/overlay/llvm/BUILD.bazel
@@ -1773,6 +1773,50 @@ ) cc_library( + name = "CSKYCodeGen", + srcs = glob([ + "lib/Target/CSKY/*.c", + "lib/Target/CSKY/*.cpp", + "lib/Target/CSKY/*.inc", + ]), + hdrs = glob([ + "include/llvm/Target/CSKY/*.h", + "include/llvm/Target/CSKY/*.def", + "include/llvm/Target/CSKY/*.inc", + "lib/Target/CSKY/*.h", + ]), + copts = llvm_copts + ["-Iexternal/llvm-project/llvm/lib/Target/CSKY"], + deps = [ + ":CSKYInfo", + ":CodeGen", + ":Core", + ":Support", + ":Target", + ":config", + ], +) + +cc_library( + name = "CSKYInfo", + srcs = glob([ + "lib/Target/CSKY/TargetInfo/*.c", + "lib/Target/CSKY/TargetInfo/*.cpp", + "lib/Target/CSKY/TargetInfo/*.inc", + ]), + hdrs = glob([ + "include/llvm/Target/CSKY/TargetInfo/*.h", + "include/llvm/Target/CSKY/TargetInfo/*.def", + "include/llvm/Target/CSKY/TargetInfo/*.inc", + "lib/Target/CSKY/TargetInfo/*.h", + ]), + copts = llvm_copts + ["-Iexternal/llvm-project/llvm/lib/Target/CSKY"], + deps = [ + ":Support", + ":config", + ], +) + +cc_library( name = "CodeGen", srcs = glob([ "lib/CodeGen/*.c",
diff --git a/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/BUILD.bazel b/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/BUILD.bazel index f925d03..31a839d 100644 --- a/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/BUILD.bazel +++ b/build_tools/bazel/third_party_import/llvm-project/overlay/mlir/BUILD.bazel
@@ -1272,6 +1272,30 @@ ) gentbl( + name = "GPUBaseIncGen", + strip_include_prefix = "include", + tbl_outs = [ + ( + "-gen-dialect-decls -dialect=gpu", + "include/mlir/Dialect/GPU/GPUOpsDialect.h.inc", + ), + ( + "-gen-op-interface-decls", + "include/mlir/Dialect/GPU/GPUOpInterfaces.h.inc", + ), + ( + "-gen-op-interface-defs", + "include/mlir/Dialect/GPU/GPUOpInterfaces.cpp.inc", + ), + ], + tblgen = ":mlir-tblgen", + td_file = "include/mlir/Dialect/GPU/GPUBase.td", + td_srcs = [ + ":GPUOpsTdFiles", + ], +) + +gentbl( name = "GPUOpsIncGen", strip_include_prefix = "include", tbl_outs = [ @@ -1283,10 +1307,6 @@ "-gen-op-defs", "include/mlir/Dialect/GPU/GPUOps.cpp.inc", ), - ( - "-gen-dialect-decls -dialect=gpu", - "include/mlir/Dialect/GPU/GPUOpsDialect.h.inc", - ), ], tblgen = ":mlir-tblgen", td_file = "include/mlir/Dialect/GPU/GPUOps.td", @@ -1308,12 +1328,14 @@ ]), includes = ["include"], deps = [ + ":GPUBaseIncGen", ":GPUOpsIncGen", ":IR", ":LLVMDialect", ":SideEffectInterfaces", ":StandardOps", ":Support", + "@llvm-project//llvm:Support", ], ) @@ -3799,6 +3821,7 @@ ":ConversionPassIncGen", ":IR", ":LinalgOps", + ":LinalgTransforms", ":Pass", ":SCFDialect", ":StandardOps",