Submodule Update
Updated manually due to auto-generated module update being at a broken bazel build revision.
Closes https://github.com/google/iree/pull/1277
PiperOrigin-RevId: 303199065
diff --git a/SUBMODULE_VERSIONS b/SUBMODULE_VERSIONS
index 981c6aa..5a9d734 100644
--- a/SUBMODULE_VERSIONS
+++ b/SUBMODULE_VERSIONS
@@ -6,14 +6,14 @@
48233ad3d45b314a83474b3704ae09638e3e2621 third_party/glslang
89ca6c25bae7c11d12409739b2ef707ed9afe6c2 third_party/google_tracing_framework
f2fb48c3b3d79a75a88a99fba6576b25d42ec528 third_party/googletest
-a711a3a46039154c38eade8bef1138b77fdb05ee third_party/llvm-project
+b539f18c565656cdd49fc0c37efbaa8e584b2d65 third_party/llvm-project
80d452484c5409444b0ec19383faa84bb7a4d351 third_party/pybind11
3d62e9545bd15c5df9ccfdd8453b93d64a6dd8eb third_party/ruy
b73f111094da3e380a1774b56b15f16c90ae8e23 third_party/sdl2
f8bf11a0253a32375c32cad92c841237b96696c0 third_party/spirv_headers
1346dd5de119d603686e260daf08f36958909a23 third_party/spirv_tools
6652f0b6428777b5a4a3d191cc30d8b31366b999 third_party/swiftshader
-243d11e04c5215dd86da94346e7ed33d7967f69f third_party/tensorflow
+24f11dc4fc83016c5d5e06a32e36fb7ade867e6f third_party/tensorflow
8a457f8552d8d47ce3a96ed80a714ff6396f8ad8 third_party/vulkan_extensionlayer
9bd3f561bcee3f01d22912de10bb07ce4e23d378 third_party/vulkan_headers
909f36b714c9239ee0b112a321220213a474ba53 third_party/vulkan_memory_allocator
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 32a26d7..601f804 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
@@ -5,7 +5,7 @@
licenses(["notice"])
-package(default_visibility = ["//visibility:public"])
+package(default_visibility = [":friends"])
package_group(
name = "subpackages",
@@ -846,6 +846,7 @@
filegroup(
name = "GPUOpsTdFiles",
srcs = [
+ "include/mlir/Dialect/GPU/GPUBase.td",
"include/mlir/Dialect/GPU/GPUOps.td",
"include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
"include/mlir/Interfaces/SideEffects.td",
@@ -854,6 +855,35 @@
)
gentbl(
+ name = "ParallelLoopMapperAttrGen",
+ strip_include_prefix = "include",
+ tbl_outs = [
+ (
+ "-gen-struct-attr-decls",
+ "include/mlir/Dialect/GPU/ParallelLoopMapperAttr.h.inc",
+ ),
+ (
+ "-gen-struct-attr-defs",
+ "include/mlir/Dialect/GPU/ParallelLoopMapperAttr.cpp.inc",
+ ),
+ (
+ "-gen-enum-decls",
+ "include/mlir/Dialect/GPU/ParallelLoopMapperEnums.h.inc",
+ ),
+ (
+ "-gen-enum-defs",
+ "include/mlir/Dialect/GPU/ParallelLoopMapperEnums.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/GPU/ParallelLoopMapperAttr.td",
+ td_srcs = [
+ ":GPUOpsTdFiles",
+ ":AffineOpsTdFiles",
+ ],
+)
+
+gentbl(
name = "GPUOpsIncGen",
strip_include_prefix = "include",
tbl_outs = [
@@ -886,7 +916,7 @@
],
),
hdrs = glob([
- "include/mlir/Dialect/GPU/*.h",
+ "include/mlir/Dialect/GPU/GPUDialect.h",
]),
includes = ["include"],
deps = [
@@ -908,6 +938,8 @@
],
),
hdrs = [
+ "include/mlir/Dialect/GPU/MemoryPromotion.h",
+ "include/mlir/Dialect/GPU/ParallelLoopMapper.h",
"include/mlir/Dialect/GPU/Passes.h",
"include/mlir/Dialect/GPU/Utils.h",
],
@@ -917,10 +949,12 @@
":GPUDialect",
":IR",
":LoopOps",
+ ":ParallelLoopMapperAttrGen",
":Pass",
":StandardOps",
":Support",
":Transforms",
+ "@llvm-project//llvm:support",
],
)
@@ -982,6 +1016,7 @@
":GPUCommonTransforms",
":GPUDialect",
":GPUToNVVMGen",
+ ":GPUTransforms",
":IR",
":LLVMTransforms",
":NVVMDialect",
@@ -1733,17 +1768,14 @@
cc_library(
name = "LoopsToGPU",
- srcs = [
- "lib/Conversion/LoopsToGPU/LoopsToGPU.cpp",
- ],
- hdrs = [
- "include/mlir/Conversion/LoopsToGPU/LoopsToGPU.h",
- ],
+ srcs = ["lib/Conversion/LoopsToGPU/LoopsToGPU.cpp"],
+ hdrs = ["include/mlir/Conversion/LoopsToGPU/LoopsToGPU.h"],
includes = ["include"],
deps = [
":Affine",
":AffineToStandardTransforms",
":GPUDialect",
+ ":GPUTransforms",
":IR",
":LoopOps",
":Pass",
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 ad5a3ff..5d56982 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
@@ -2,7 +2,7 @@
licenses(["notice"])
-package(default_visibility = ["//visibility:public"])
+package(default_visibility = [":test_friends"])
# Please only depend on this from MLIR tests.
package_group(
diff --git a/third_party/llvm-project b/third_party/llvm-project
index a711a3a..b539f18 160000
--- a/third_party/llvm-project
+++ b/third_party/llvm-project
@@ -1 +1 @@
-Subproject commit a711a3a46039154c38eade8bef1138b77fdb05ee
+Subproject commit b539f18c565656cdd49fc0c37efbaa8e584b2d65
diff --git a/third_party/tensorflow b/third_party/tensorflow
index 243d11e..24f11dc 160000
--- a/third_party/tensorflow
+++ b/third_party/tensorflow
@@ -1 +1 @@
-Subproject commit 243d11e04c5215dd86da94346e7ed33d7967f69f
+Subproject commit 24f11dc4fc83016c5d5e06a32e36fb7ade867e6f