"""Provides the repository macro to import LLVM."""

load("//third_party:repo.bzl", "tf_http_archive")

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "b601c6719226fb83c43dae62a581e5ee08bfb169"
    LLVM_SHA256 = "3a46a557eae1cc6545eab200329c622bf47fb2a23ca946ab5fff593d3814d908"

    tf_http_archive(
        name = name,
        sha256 = LLVM_SHA256,
        strip_prefix = "llvm-project-" + LLVM_COMMIT,
        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),
        ],
        link_files = {
            "//third_party/llvm:llvm.autogenerated.BUILD": "llvm/BUILD",
            "//third_party/mlir:BUILD": "mlir/BUILD",
            "//third_party/mlir:test.BUILD": "mlir/test/BUILD",
        },
    )

@@ -160,133 +160,133 @@
  = %22
-b601c6719226fb83c43dae62a581e5ee08bfb169%22%0A    LLVM_SHA256 = %223a46a557eae1cc6545eab200329c622bf47fb2a23ca946ab5fff593
+1b589172bd19b83e8137185ed11f50bba06e8766%22%0A    LLVM_SHA256 = %22865096385749658fa16da7d16b54a6a853a931889a58293a8596c674
 d3
+9
 81
-4d908
+021
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@1b589172bd19