Closures inherit #[optimize] from the enclosing function by default.#158901
Conversation
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Waiting on t-lang per #157273 (comment) |
|
The lang team discussed this change today and was in favor: #157562 (comment) |
|
I don't believe this is blocked on lang anymore, but I don't think I can remove the tag myself. |
|
Reminder, once the PR becomes ready for a review, use |
3c5ebd5 to
f24fa6f
Compare
|
@rustbot ready |
| #![crate_type = "lib"] | ||
|
|
||
| // CHECK-DAG: define{{.*}}void {{.*}}test_none{{.*}}call_once{{.*}}#[[ATTR_NONE:[0-9]+]] | ||
| // CHECK-DAG: define{{.*}}void {{.*}}test_none{{.*}}B{{[0-9]+}}_() {{.*}}#[[ATTR_NONE]] |
There was a problem hiding this comment.
Possibly a silly question: what's that B from?
(I get worried about anything too specific in name checks because we've been bitten before by people doing things like %[[FOO]].0 and depending on the exact internal LLVM naming of SRoA results and such. This is probably not that bad, but I'm confused what it is, so...)
There was a problem hiding this comment.
I personally don't know, but $LLM seems to think it comes from "Rust's v0 symbol mangling specification (specifically compression back-references for path components, e.g. B3_)". However with no-prepopulate-passes this doesn't seem needed anymore, so ... :-)
(I don't really understand FileCheck)
f24fa6f to
cca3d28
Compare
|
@bors r=wesleywiser,scottmcm |
|
@bors p=101 |
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 9451e06 (parent) -> 5e2e873 (this PR) Test differencesShow 5 test diffsStage 1
Stage 2
Additionally, 3 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 5e2e8734b6a10a88879b8732fec64dd524894793 --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 (5e2e873): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 2.1%, secondary 0.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -3.4%)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: 489.176s -> 487.552s (-0.33%) |
Tracking issue: #54882
Stabilization PR: #157273