Skip to content

Update LLVM to 22.1.7#157899

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
dianqk:update-llvm
Jun 15, 2026
Merged

Update LLVM to 22.1.7#157899
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
dianqk:update-llvm

Conversation

@dianqk

@dianqk dianqk commented Jun 14, 2026

Copy link
Copy Markdown
Member

Update for rust-lang/llvm-project#196.

LLVM 22.1.7 contains fixes for the PowerPC specific issues produced by Rust.

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 14, 2026
@rustbot

rustbot commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

r? @cuviper

rustbot has assigned @cuviper.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @cuviper

@rustbot

rustbot commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

@dianqk

dianqk commented Jun 14, 2026

Copy link
Copy Markdown
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jun 14, 2026
rust-bors Bot pushed a commit that referenced this pull request Jun 14, 2026
@cuviper

cuviper commented Jun 14, 2026

Copy link
Copy Markdown
Member

r=me when you're satisfied with your perf results.

@rust-bors

rust-bors Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: f53729e (f53729e14ab023a6fb60032fde3eeb5a5f6b6877, parent: c7446f2d7fc27aeea22d33cbe2417bdccac9ec5d)

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (f53729e): comparison URL.

Overall result: no relevant changes - no action needed

Benchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up.

@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

This perf run didn't have relevant results for this metric.

Max RSS (memory usage)

Results (primary -3.9%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-3.9% [-3.9%, -3.9%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -3.9% [-3.9%, -3.9%] 1

Cycles

Results (primary 1.5%, secondary 2.5%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.5% [1.3%, 1.8%] 2
Regressions ❌
(secondary)
2.5% [2.5%, 2.5%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 1.5% [1.3%, 1.8%] 2

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 519.038s -> 520.088s (0.20%)
Artifact size: 401.44 MiB -> 401.47 MiB (0.01%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jun 15, 2026
@dianqk

dianqk commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

@bors r=cuviper

@rust-bors

rust-bors Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 040f2fd has been approved by cuviper

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 15, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Jun 15, 2026
Update LLVM to 22.1.7

Update for rust-lang/llvm-project#196.

LLVM 22.1.7 contains fixes for the PowerPC specific issues produced by Rust.
jhpratt added a commit to jhpratt/rust that referenced this pull request Jun 15, 2026
Update LLVM to 22.1.7

Update for rust-lang/llvm-project#196.

LLVM 22.1.7 contains fixes for the PowerPC specific issues produced by Rust.
jhpratt added a commit to jhpratt/rust that referenced this pull request Jun 15, 2026
Update LLVM to 22.1.7

Update for rust-lang/llvm-project#196.

LLVM 22.1.7 contains fixes for the PowerPC specific issues produced by Rust.
rust-bors Bot pushed a commit that referenced this pull request Jun 15, 2026
Rollup of 6 pull requests

Successful merges:

 - #157899 (Update LLVM to 22.1.7)
 - #157029 (stabilize feature `float_algebraic`)
 - #157872 (`suspicious_double_ref_op`: report unadjusted return type)
 - #157877 (Stabilize `nonzero_from_str_radix`)
 - #157900 (Update intrinsics wrapping documentation)
 - #157904 (Add Alice Ryhl to libs review rotation)
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jun 15, 2026
Update LLVM to 22.1.7

Update for rust-lang/llvm-project#196.

LLVM 22.1.7 contains fixes for the PowerPC specific issues produced by Rust.
@JonathanBrouwer

Copy link
Copy Markdown
Contributor

@bors yield
Yielding to enclosing rollup

@rust-bors

rust-bors Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Auto build was cancelled. Cancelled workflows:

The next pull request likely to be tested is #157906.

rust-bors Bot pushed a commit that referenced this pull request Jun 15, 2026
Rollup of 6 pull requests

Successful merges:

 - #157899 (Update LLVM to 22.1.7)
 - #157029 (stabilize feature `float_algebraic`)
 - #157872 (`suspicious_double_ref_op`: report unadjusted return type)
 - #157877 (Stabilize `nonzero_from_str_radix`)
 - #157900 (Update intrinsics wrapping documentation)
 - #157904 (Add Alice Ryhl to libs review rotation)
@rust-bors

This comment has been minimized.

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 15, 2026
@rust-bors

rust-bors Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: cuviper
Duration: 3h 23m 19s
Pushing 5ff740e to main...

@rust-bors rust-bors Bot merged commit 5ff740e into rust-lang:main Jun 15, 2026
15 checks passed
@rustbot rustbot added this to the 1.98.0 milestone Jun 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing b5d46ec (parent) -> 5ff740e (this PR)

Test differences

Show 30 test diffs

Stage 1

  • [codegen] tests/codegen-llvm/amdgpu-addrspacecast.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/gpu-launch-sized-workgroup-memory.rs#nvptx-post-llvm-23: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J1)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#old: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/issues/issue-37945.rs#new: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J1)
  • [codegen] tests/codegen-llvm/issues/matches-logical-or-141497.rs: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J1)
  • [codegen] tests/codegen-llvm/scalable-vectors/debuginfo.rs#PRE-LLVM-22: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-gather.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-load.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-store.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-scatter.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#old: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#old: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J1)

Stage 2

  • [assembly] tests/assembly-llvm/simd-bitmask.rs#aarch64: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J0)
  • [codegen] tests/codegen-llvm/amdgpu-addrspacecast.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/gpu-launch-sized-workgroup-memory.rs#nvptx-post-llvm-23: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J0)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#old: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/issues/issue-37945.rs#new: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J0)
  • [codegen] tests/codegen-llvm/issues/matches-logical-or-141497.rs: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J0)
  • [codegen] tests/codegen-llvm/scalable-vectors/debuginfo.rs#PRE-LLVM-22: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-gather.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-load.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-store.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-scatter.rs#LLVM21: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#old: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#old: ignore (ignored when the LLVM version (22.1.6) is newer than majorversion 21) -> ignore (ignored when the LLVM version (22.1.7) is newer than majorversion 21) (J0)
  • [codegen] tests/codegen-llvm/array-equality.rs#llvm-next: ignore (ignored when the LLVM version 22.1.6 is older than 23.0.0) -> ignore (ignored when the LLVM version 22.1.7 is older than 23.0.0) (J2)
  • [run-make] tests/run-make/compressed-debuginfo-zstd: pass -> ignore (ignored if LLVM wasn't build with zstd for ELF section compression or LLVM is not the default codegen backend) (J3)

Additionally, 3 doctest diffs were found. These are ignored, as they are noisy.

Job group index

  • J0: aarch64-apple, aarch64-apple-macos-26, aarch64-gnu, aarch64-msvc-1, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, optional-x86_64-gnu-parallel-frontend, test-various, x86_64-gnu, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1
  • J1: pr-check-2
  • J2: optional-x86_64-gnu-parallel-frontend, test-various, x86_64-gnu, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1
  • J3: x86_64-gnu-nopt
Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 5ff740e85e8569289a93573ad25f1295dfae0323 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. i686-gnu-1: 1h 30m -> 2h 15m (+50.1%)
  2. x86_64-gnu-gcc-core-tests: 14m 28s -> 19m 45s (+36.4%)
  3. i686-msvc-2: 2h 20m -> 1h 40m (-28.8%)
  4. x86_64-rust-for-linux: 53m -> 1h 7m (+27.0%)
  5. x86_64-gnu-nopt: 2h 21m -> 2h 55m (+24.1%)
  6. arm-android: 1h 39m -> 2h 2m (+23.3%)
  7. pr-check-2: 44m 17s -> 53m 58s (+21.9%)
  8. x86_64-gnu-pre-stabilization: 36m 19s -> 43m 51s (+20.7%)
  9. test-various: 2h 16m -> 1h 48m (-20.4%)
  10. tidy: 2m 23s -> 1m 55s (-19.0%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (5ff740e): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This perf run didn't have relevant results for this metric.

Max RSS (memory usage)

Results (primary -1.3%, secondary -1.4%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.7% [2.7%, 2.7%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-5.3% [-5.3%, -5.3%] 1
Improvements ✅
(secondary)
-1.4% [-2.2%, -0.7%] 2
All ❌✅ (primary) -1.3% [-5.3%, 2.7%] 2

Cycles

This perf run didn't have relevant results for this metric.

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 522.814s -> 518.77s (-0.77%)
Artifact size: 400.99 MiB -> 401.47 MiB (0.12%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. merged-by-bors This PR was explicitly merged by bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants