Integrate LLVM at llvm/llvm-project@0c3d22a5926d
Updates LLVM usage to match
[0c3d22a5926d](https://github.com/llvm/llvm-project/commit/0c3d22a5926d)
PiperOrigin-RevId: 425862763
Change-Id: I3777011377a540d27a7507947c5d4bf3aad8e275
diff --git a/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc b/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc
index ed9f29d..9902174 100644
--- a/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc
+++ b/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc
@@ -1087,8 +1087,7 @@
for (Value index : this->start_indices()) {
DenseIntElementsAttr de_attr;
if (!matchPattern(index, m_Constant(&de_attr))) return {};
- int start_val = de_attr.getSplatValue<IntegerAttr>().getInt();
- if (start_val != 0) return {};
+ if (!de_attr.getSplatValue<IntegerAttr>().getValue().isZero()) return {};
}
return this->update();
}
diff --git a/third_party/llvm/workspace.bzl b/third_party/llvm/workspace.bzl
index c133bbe..ea7f3c8 100644
--- a/third_party/llvm/workspace.bzl
+++ b/third_party/llvm/workspace.bzl
@@ -4,8 +4,8 @@
def repo(name):
"""Imports LLVM."""
- LLVM_COMMIT = "ce8022faa365e0a48c2d77085d67bd9800bedb0a"
- LLVM_SHA256 = "585467a147428bb5315b005d73eadd6a6bc9f74566e2b773d6f7dd588996c086"
+ LLVM_COMMIT = "0c3d22a5926dd7d6fd28682683abd9d476f8e78b"
+ LLVM_SHA256 = "f0481fe1159456cf09d976b7e77573c388ebfe93c028b5f16387364ebed76957"
tf_http_archive(
name = name,