From 459e481b77f8537aae3f8e8e8ad9550721afe202 Mon Sep 17 00:00:00 2001 From: Sandeep Dasgupta Date: Tue, 14 Jan 2025 18:21:47 -0800 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@b270525f730b (#2689) --- WORKSPACE.bazel | 4 ++-- build_tools/llvm_version.txt | 2 +- docs/spec.md | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 3f2e1b3577..4b2c3c5a93 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -17,9 +17,9 @@ workspace(name = "stablehlo") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -LLVM_COMMIT = "faa3f752896903c2d09d389970d3d0ebf50a1073" +LLVM_COMMIT = "b270525f730be6e7196667925f5a9bfa153262e9" -LLVM_SHA256 = "2c8b76b370dca2a70dac1036244598d357867071217074c5cdf15c43295b0042" +LLVM_SHA256 = "fcf77da395cd5097eac5951471b04aa887f565c3447545239421a0eb7089da7c" http_archive( name = "llvm-raw", diff --git a/build_tools/llvm_version.txt b/build_tools/llvm_version.txt index 7ab9394782..456bfbc70a 100644 --- a/build_tools/llvm_version.txt +++ b/build_tools/llvm_version.txt @@ -1 +1 @@ -faa3f752896903c2d09d389970d3d0ebf50a1073 +b270525f730be6e7196667925f5a9bfa153262e9 diff --git a/docs/spec.md b/docs/spec.md index e59de3f716..f2418f2444 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -5592,9 +5592,9 @@ undefined. #### Constraints + * (C1) `same(shape(inputs...))`. -* (C2) `rank(inputs[0]) = size(update_window_dims) + size(inserted_window_dims) - + size(input_batching_dims)`. +* (C2) `rank(inputs[0]) = size(update_window_dims) + size(inserted_window_dims) + size(input_batching_dims)`. * (C3) `same(shape(updates...))`. * (C4) `shape(updates[0]) = combine(update_scatter_dim_sizes, update_window_dim_sizes)` where: @@ -5634,6 +5634,7 @@ undefined. where `is_promotable(element_type(inputs[i]), Ei)`. * (C24) `shape(inputs...) = shape(results...)`. * (C25) `element_type(results[i]) = Ei` for all `i` in `[0,N)`. + #### Examples