Skip to content

Commit 8f92b38

Browse files
Updates LLVM usage to match [51d4980a133d](llvm/llvm-project@51d4980a133d) PiperOrigin-RevId: 656351435
1 parent effc9ac commit 8f92b38

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

third_party/llvm/generated.patch

+21-19
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
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/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
3-
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
4-
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
5-
@@ -675,6 +675,7 @@
6-
deps = [
7-
":__support_common",
8-
":__support_cpp_type_traits",
9-
+ ":__support_fputil_dyadic_float",
10-
":__support_fputil_fenv_impl",
11-
":__support_fputil_fp_bits",
12-
":__support_macros_optimization",
13-
@@ -1089,7 +1090,7 @@
14-
":__support_macros_optimization",
15-
":__support_osutil_syscall",
16-
":types_pid_t",
17-
- ]
18-
+ ],
19-
)
2+
diff -ruN --strip-trailing-cr a/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h b/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
3+
--- a/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
4+
+++ b/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
5+
@@ -9,6 +9,7 @@
6+
#define MLIR_CONVERSION_GPUCOMMON_OPTOFUNCCALLLOWERING_H_
207

21-
libc_support_library(
8+
#include "mlir/Conversion/LLVMCommon/Pattern.h"
9+
+#include "mlir/Dialect/Arith/IR/Arith.h"
10+
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
11+
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
12+
#include "mlir/IR/Builders.h"
13+
diff -ruN --strip-trailing-cr a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
14+
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
15+
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
16+
@@ -5744,6 +5744,7 @@
17+
"lib/Conversion/GPUCommon/OpToFuncCallLowering.h",
18+
],
19+
deps = [
20+
+ ":ArithDialect",
21+
":GPUDialect",
22+
":IR",
23+
":LLVMCommonConversion",

third_party/llvm/workspace.bzl

+2-2
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 = "58fb51492d9669525662fa269295d85537968569"
8-
LLVM_SHA256 = "f6cac3f3f562a7bd3a36a828df2960a1ebc2cd6237f4cb95a66f1bd16e918ef9"
7+
LLVM_COMMIT = "51d4980a133db12888207698e39c469cb7055cac"
8+
LLVM_SHA256 = "ee34426de8adf8408a610d0072e82b50bad0adac2c009f1f20072d626c0b876e"
99

1010
tf_http_archive(
1111
name = name,

0 commit comments

Comments
 (0)