Repository navigation
Rollup of 8 pull requests - #166456
Rollup of 8 pull requests#166456
Conversation
- keep doing when finding a return expression; there might be nested early returns. - keep track of blocks/loops in tail position: a break to them is effectively a return
We no longer use AWS CodeBuild for our jobs, so delete or rephrase code that referred to it.
…ysis * Add post-analysis `TypingEnv` constructors explicit about rigid aliases * Use `post_analysis_no_rigid_aliases` at the existing `post_analysis` call sites * Rename interner `TypingEnv::post_analysis` to `post_analysis_no_rigid_aliases` * Use `post_analysis_invalidating_rigid_aliases` for drop shims * Remove `TypingEnv::post_analysis`
some architectures abi require 32 bit types to be extended to 64 bit.
…szelmann [PERF] Inline some attribute parsing code
…hanBrouwer make `ReturnsVisitor` more accurate I want to use this visitor for rust-lang#147697, but it currently has some inaccuracies, so: - keep going when finding a return expression; there might be nested early returns. - just also look in the `if` condition and `match` scrutinee. - keep track of blocks/loops in tail position: a break to them is effectively a return The diff is kind of a mess, it's probably easier to just look at the after version for the logic. The second commit does show the improvement in error messages nicely.
Abby: move span out of leaf region constraint This makes it easier to deduplicate leafs and allows us to add more fields like `VisibleForLeakCheck`. cc rust-lang/project-assumptions-on-binders#30 The actual commit is the last one. The others are part of stacked PRs awaiting separate approval. r? khyperia
…nv-post-analysis, r=adwinwhite Make rigid alias invalidation explicit when transitioning to PostAnalysis We have a few places where we change the typing mode without invalidating rigid aliases, resulting in unexpected ICEs. To make this less error-prone, this PR introduces two constructors for PostAnalysis, one with and one without rigid alias invalidation. This makes the guarantees explicit at the call site and keeps the reasoning local. More info here: [#t-types/call-for-participation > invalidate rigid aliases when constructing typing envs](https://rust-lang.zulipchat.com/#narrow/channel/618216-t-types.2Fcall-for-participation/topic/invalidate.20rigid.20aliases.20when.20constructing.20typing.20envs/with/640681389) r? @adwinwhite
…r=Kobzol Drop references to codebuild We no longer use AWS CodeBuild for our jobs, so delete or rephrase code that referred to it.
Add safety section for intrinsic volatile operations This PR adds safety section for volatile operations in `intrinsics/mod.rs`. I find that these apis lack safety comments. I refer to the format of `volatile_copy_nonoverlapping_memory` and `size_of_val`. For `volatile_copy_memory`, I think this api should follow the safety requirement of `ptr::copy`. For `unaligned_volatile_load(store)`, I add the text that they should refer to `read(write)_voaltile` but don't need to follow the align requirement. Thank you for your suggestion.
…nna-kruppe remove some incorrect docs from volatile intrinsics The contract of volatile reads/writes has evolved quite a bit, making this here outdated. We can work out the exact contract for these intrinsics when they are actually used anywhere. Currently they are just experimental stubs.
fix test enum-repr-abi some architectures abi require 32 bit types to be extended to 64 bit.
|
@bors r+ p=5 force |
This comment has been minimized.
This comment has been minimized.
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 058c701 (parent) -> cc43a03 (this PR) Test differencesShow 102 test diffs102 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard cc43a03f1bf67e51cb6193cca9de1606a7100647 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (cc43a03): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -2.2%, secondary 4.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.0%, secondary 2.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 462.461s -> 462.502s (0.01%) |
|
📌 Perf builds for each rolled up PR:
parent commit: 058c701055 In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: |
|
Improvement (partially) from #166385 |
Successful merges:
ReturnsVisitormore accurate #166013 (makeReturnsVisitormore accurate )r? @ghost
Create a similar rollup