Integrate LLVM at llvm/llvm-project@9908ee567059
Updates LLVM usage to match
[9908ee567059](https://github.com/llvm/llvm-project/commit/9908ee567059)
PiperOrigin-RevId: 335944587
Change-Id: Ibca6350fe4f4b26b4553ddce8df2dcfbd09b5c57
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
index 1996c42..07c7e2c 100755
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -712,8 +712,8 @@
)
# Check out LLVM and MLIR from llvm-project.
- LLVM_COMMIT = "5e4409f30817798377689ef6c229f1c82815e6e8"
- LLVM_SHA256 = "256bed8e56ced4bb25300a90a2a258794d402fbbd44670496ae35a3570606995"
+ LLVM_COMMIT = "9908ee5670596db4fdc2bd7ea7c3071c0e02a784"
+ LLVM_SHA256 = "3ad41e5db126148c0d827dc26043dacb7f510d1a1aaa6d827176b5a8dadc9f11"
LLVM_URLS = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
"https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
diff --git a/third_party/mlir/BUILD b/third_party/mlir/BUILD
index 1c82ec2..40a46b5 100644
--- a/third_party/mlir/BUILD
+++ b/third_party/mlir/BUILD
@@ -121,6 +121,7 @@
name = "CAPIIR",
srcs = [
"lib/CAPI/IR/AffineMap.cpp",
+ "lib/CAPI/IR/Diagnostics.cpp",
"lib/CAPI/IR/IR.cpp",
"lib/CAPI/IR/StandardAttributes.cpp",
"lib/CAPI/IR/StandardTypes.cpp",
@@ -129,12 +130,14 @@
],
hdrs = [
"include/mlir-c/AffineMap.h",
+ "include/mlir-c/Diagnostics.h",
"include/mlir-c/IR.h",
"include/mlir-c/StandardAttributes.h",
"include/mlir-c/StandardDialect.h",
"include/mlir-c/StandardTypes.h",
"include/mlir-c/Support.h",
"include/mlir/CAPI/AffineMap.h",
+ "include/mlir/CAPI/Diagnostics.h",
"include/mlir/CAPI/IR.h",
"include/mlir/CAPI/Support.h",
"include/mlir/CAPI/Utils.h",