Skip to content

Assert that HIR nodes are not their own parent. - #101688

Merged
bors merged 1 commit into
rust-lang:masterfrom
cjgillot:verify-hir-parent
Sep 12, 2022
Merged

Assert that HIR nodes are not their own parent.#101688
bors merged 1 commit into
rust-lang:masterfrom
cjgillot:verify-hir-parent

Conversation

@cjgillot

Copy link
Copy Markdown
Contributor

@rustbotrustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Sep 11, 2022
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 11, 2022
Comment threadcompiler/rustc_middle/src/hir/map/mod.rs Outdated
@petrochenkov

Copy link
Copy Markdown
Contributor

Thanks!
r=me with #101688 (comment) addressed.
@rustbot author

@rustbotrustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 11, 2022
@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Sep 11, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 51f4869 has been approved by petrochenkov

It is now in the queue for this repository.

@borsbors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 11, 2022
@nnethercote

Copy link
Copy Markdown
Contributor

Thanks, @cjgillot! #101513 added a test, any chance that could be incorporated into this PR?

@bors

bors commented Sep 12, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 51f4869 with merge fa521a4...

@bors

bors commented Sep 12, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: petrochenkov
Pushing fa521a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Sep 12, 2022
@bors
bors merged commit fa521a4 into rust-lang:masterSep 12, 2022
@rustbotrustbot added this to the 1.65.0 milestone Sep 12, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (fa521a4): 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

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1rangecount2
Regressions ❌
(primary)
2.5%[2.5%, 2.5%]1
Regressions ❌
(secondary)
0.9%[0.9%, 0.9%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.4%[-2.4%, -2.4%]1
All ❌✅ (primary)2.5%[2.5%, 2.5%]1

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1rangecount2
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-2.9%[-4.9%, -1.9%]7
Improvements ✅
(secondary)
-3.4%[-3.4%, -3.3%]2
All ❌✅ (primary)-2.9%[-4.9%, -1.9%]7

Footnotes

  1. the arithmetic mean of the percent change2

  2. number of relevant changes2

@cjgillot
cjgillot deleted the verify-hir-parent branch September 13, 2022 18:20
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

regression: hang with -Zsave-analysis

8 participants

@cjgillot@petrochenkov@bors@nnethercote@rust-timer@Rageking8@rust-highfive@rustbot