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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "0fe7531b75e54909a7cb7f7080634ab2053964ad"
    LLVM_SHA256 = "e66cea5f94e3eb7068da8f94de5ec9189353df315cbcc51df84082c5ab2fb287"

    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:build_defs.bzl": "mlir/build_defs.bzl",
            "//third_party/mlir:linalggen.bzl": "mlir/linalggen.bzl",
            "//third_party/mlir:tblgen.bzl": "mlir/tblgen.bzl",
            "//third_party/mlir:test.BUILD": "mlir/test/BUILD",
        },
    )

@@ -160,133 +160,133 @@
  = %22
-0fe7531b75e54909a7cb7f7080634ab2053964ad%22%0A    LLVM_SHA256 = %22e66cea5f94e3eb7068da8f94de5ec9189353df315cbcc51df84082c5ab2fb287
+db6217a3f7928578efc6993528e9ab6b1c32ad88%22%0A    LLVM_SHA256 = %2241098060e6c56e47a26bb0530764aa1c335743a45a58e506466634627aef991f
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@db6217a3f792