Skip to content

Conversation

Zalathar
Copy link
Contributor

@Zalathar Zalathar commented Sep 29, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Enselic and others added 6 commits September 27, 2025 21:20
This maintains AbiAlign usage in public API and most of the compiler,
but direct access of these fields is now in terms of Align only.
Much of the compiler calls functions on Align projected from AbiAlign.
AbiAlign impls Deref to its inner Align, so we can simplify these away.
Also, it will minimize disruption when AbiAlign is removed.

For now, preserve usages that might resolve to PartialOrd or PartialEq,
as those have odd inference.
tests: Remove ignore-android directive for fixed issue

rust-lang#120567 is marked as fixed, so let's see if we can remove the ignore directives tied to that issue.

<!-- Note to self: wait for rust-lang/team#2002 -->

try-job: arm-android
…, r=Zalathar

compiler: remove AbiAlign inside TargetDataLayout

AbiAlign is a thin wrapper around Align, extant mostly because we used to track a separate quasi-notion of alignment that was never a real notion of alignment and removing all of it at once was too churny. This PR maintains AbiAlign usage in public API and most of the compiler, but direct access of these fields for TargetDataLayout is now in terms of Align only.
…align-deref, r=Zalathar

remove explicit deref of AbiAlign for most methods

Much of the compiler calls functions on Align projected from AbiAlign. AbiAlign impls Deref to its inner Align, so we can simplify these away. Also, it will minimize disruption when AbiAlign is removed.

For now, preserve usages that might resolve to PartialOrd or PartialEq, as those have odd inference.
@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. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Sep 29, 2025
@Zalathar
Copy link
Contributor Author

Rollup of everything not in #147140.

Feel free to replace this with a larger (non-overlapping) rollup if more PRs are approved before this runs.

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Sep 29, 2025

📌 Commit cd6f32a has been approved by Zalathar

It is now in the queue for this repository.

@bors bors 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 Sep 29, 2025
@bors
Copy link
Collaborator

bors commented Sep 29, 2025

⌛ Testing commit cd6f32a with merge 128b36a...

@bors
Copy link
Collaborator

bors commented Sep 29, 2025

☀️ Test successful - checks-actions
Approved by: Zalathar
Pushing 128b36a to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 29, 2025
@bors bors merged commit 128b36a into rust-lang:master Sep 29, 2025
11 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Sep 29, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#147100 tests: Remove ignore-android directive for fixed issue 7caa3c99e16ea0df5c476c5e73ab258cce3850c5 (link)
#147116 compiler: remove AbiAlign inside TargetDataLayout 66c5971ec5dacd570f1eb5918c5ec40fbb60cd02 (link)
#147134 remove explicit deref of AbiAlign for most methods f0fdfbd0574520e0bdf1e912bb7ba14b17ee1a43 (link)

previous master: 7af913fc90

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@Zalathar Zalathar deleted the rollup-s7kcs3w branch September 29, 2025 11:55
Copy link
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 7af913f (parent) -> 128b36a (this PR)

Test differences

Show 4 test diffs

Stage 2

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

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 128b36a4a48534b048845cc744b9672529d13df1 --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. x86_64-gnu-llvm-20-1: 2945.9s -> 3740.8s (27.0%)
  2. pr-check-1: 1466.9s -> 1756.3s (19.7%)
  3. i686-gnu-2: 5443.7s -> 6470.4s (18.9%)
  4. x86_64-gnu-tools: 3226.3s -> 3713.9s (15.1%)
  5. x86_64-rust-for-linux: 2638.9s -> 2995.6s (13.5%)
  6. x86_64-gnu-llvm-20: 2496.6s -> 2811.7s (12.6%)
  7. i686-gnu-1: 7505.7s -> 8449.4s (12.6%)
  8. x86_64-gnu-llvm-20-3: 6602.6s -> 5822.7s (-11.8%)
  9. aarch64-gnu-llvm-20-1: 3327.6s -> 3715.5s (11.7%)
  10. dist-apple-various: 3273.6s -> 3653.3s (11.6%)
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
Collaborator

Finished benchmarking commit (128b36a): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (primary -2.5%)

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)
-2.5% [-2.5%, -2.5%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -2.5% [-2.5%, -2.5%] 1

Cycles

Results (secondary -2.3%)

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)
- - 0
Improvements ✅
(secondary)
-2.3% [-3.6%, -1.3%] 5
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 469.301s -> 470.851s (0.33%)
Artifact size: 387.67 MiB -> 387.67 MiB (0.00%)

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. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants