Skip to content

Commit c2878f4

Browse files
Updates LLVM usage to match [a21f9bfe29c2](llvm/llvm-project@a21f9bfe29c2) PiperOrigin-RevId: 706059010
1 parent 83c149d commit c2878f4

File tree

2 files changed

+2
-56
lines changed

2 files changed

+2
-56
lines changed

third_party/llvm/generated.patch

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1 @@
11
Auto generated patch. Do not edit or delete it, even if empty.
2-
diff -ruN --strip-trailing-cr a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
3-
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
4-
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
5-
@@ -5167,6 +5167,7 @@
6-
":FuncDialect",
7-
":FunctionInterfaces",
8-
":GPUDialect",
9-
+ ":GPUUtils",
10-
":IR",
11-
":LinalgDialect",
12-
":MemRefDialect",
13-
@@ -5795,6 +5796,7 @@
14-
":ExecutionEngineUtils",
15-
":FuncDialect",
16-
":GPUDialect",
17-
+ ":GPUUtils",
18-
":GPUPassIncGen",
19-
":GPUToLLVMIRTranslation",
20-
":IR",
21-
@@ -5829,6 +5831,26 @@
22-
]),
23-
)
24-
25-
+cc_library(
26-
+ name = "GPUUtils",
27-
+ srcs = glob(
28-
+ [
29-
+ "lib/Dialect/GPU/Utils/*.cpp",
30-
+ ],
31-
+ ),
32-
+ hdrs = glob(["include/mlir/Dialect/GPU/Utils/*.h"]),
33-
+ includes = ["include"],
34-
+ deps = [
35-
+ ":AffineDialect",
36-
+ ":ArithDialect",
37-
+ ":GPUDialect",
38-
+ ":IR",
39-
+ ":Support",
40-
+ ":VectorDialect",
41-
+ "//llvm:Support",
42-
+ ],
43-
+)
44-
+
45-
td_library(
46-
name = "GPUTransformOpsTdFiles",
47-
srcs = [
48-
@@ -6188,6 +6210,7 @@
49-
":FuncToLLVM",
50-
":GPUCommonTransforms",
51-
":GPUDialect",
52-
+ ":GPUUtils",
53-
":GPUTransforms",
54-
":IR",
55-
":LLVMCommonConversion",

third_party/llvm/workspace.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive")
44

55
def repo(name):
66
"""Imports LLVM."""
7-
LLVM_COMMIT = "bc29fc937c6cb4a210f80c93c79fc6ed97c801f8"
8-
LLVM_SHA256 = "c52784eddf958532cb617befe65df12a7a350b7eacf0532c3a61efc921b2142c"
7+
LLVM_COMMIT = "a21f9bfe29c2b9f1967952d12a5b7cb8f8b75202"
8+
LLVM_SHA256 = "7039c2826841e473fe6431e36a2d8ba3746f200da53c481384f7f5d970e5bca1"
99

1010
tf_http_archive(
1111
name = name,

0 commit comments

Comments
 (0)