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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "cc8d32ae7d94c96b9280df40eb3507eae79c7101"
    LLVM_SHA256 = "7cbfb727c8009baab7c967bb4a96f9abaf139357dc2be1b7d4cbb7878fb6a2e0"

    tfrt_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",
        },
    )

@@ -162,132 +162,132 @@
  = %22
-cc8d32ae7d94c96b9280df40eb3507eae79c7101%22%0A    LLVM_SHA256 = %227cbfb727c8009baab7c967bb4a96f9abaf139357dc2be1b7d4cbb7878fb6a2e
+662f9bff337b99819301113fc8634eb5123b9e23%22%0A    LLVM_SHA256 = %22f03182863a2c008b022252590da3e0c9a18afd8ef3bdd3af066025a32e3bca8
 0%22%0A%0A

Integrate LLVM at llvm/llvm-project@662f9bff337b