Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove const prop for indirects #73130

Merged
merged 2 commits into from
Jun 19, 2020

Conversation

wesleywiser
Copy link
Member

@wesleywiser wesleywiser commented Jun 8, 2020

This was only used by one mir-opt test and since it causes buggy behavior under -Zmir-opt-level=2, it seems like we should remove it.

This was split out from #71946.

Closes #72679
Closes #72372
Closes #72285

This isn't sound without validation. We don't want to report errors in case of failure to intern and validate, we just don't want to const prop. Interning and const prop is not built for this, let's not do it until we have a clearer picture on aggregate propagation.
@wesleywiser
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Jun 8, 2020

⌛ Trying commit 0acb30d990f8d083ef970b3cbc25ca5add42fdcb with merge cf6eb878bb583ffa3a9ea1219cdac97dffe23955...

@bors
Copy link
Contributor

bors commented Jun 8, 2020

💔 Test failed - checks-azure

@bors bors added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jun 8, 2020
@wesleywiser
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Jun 8, 2020

⌛ Trying commit 0acb30d990f8d083ef970b3cbc25ca5add42fdcb with merge afc2d6854e31cb3e2bc400a501281277a8bfde80...

@bors
Copy link
Contributor

bors commented Jun 8, 2020

☀️ Try build successful - checks-azure
Build commit: afc2d6854e31cb3e2bc400a501281277a8bfde80 (afc2d6854e31cb3e2bc400a501281277a8bfde80)

@rust-timer
Copy link
Collaborator

Queued afc2d6854e31cb3e2bc400a501281277a8bfde80 with parent 7355816, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (afc2d6854e31cb3e2bc400a501281277a8bfde80): comparison url.

@wesleywiser
Copy link
Member Author

Looks like it doesn't make that much of a difference from a performance perspective so I'll just remove that now and maybe we can come back to it at some point in the future.

@wesleywiser wesleywiser force-pushed the remove_const_prop_for_indirects branch from 0acb30d to fa41937 Compare June 9, 2020 00:45
@wesleywiser wesleywiser changed the title [wip] Remove const prop for indirects Remove const prop for indirects Jun 9, 2020
@wesleywiser
Copy link
Member Author

r? @oli-obk

@rust-highfive

This comment has been minimized.

@wesleywiser wesleywiser force-pushed the remove_const_prop_for_indirects branch from fa41937 to 1e88f13 Compare June 9, 2020 12:05
@JohnCSimon JohnCSimon 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 16, 2020
@oli-obk
Copy link
Contributor

oli-obk commented Jun 16, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jun 16, 2020

📌 Commit 1e88f13 has been approved by oli-obk

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 16, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 19, 2020
Rollup of 13 pull requests

Successful merges:

 - rust-lang#70740 (Enabling static-pie for musl)
 - rust-lang#72331 (Report error when casting an C-like enum implementing Drop)
 - rust-lang#72486 (Fix asinh of negative values)
 - rust-lang#72497 (tag/niche terminology cleanup)
 - rust-lang#72999 (Create self-contained directory and move there some of external binaries/libs)
 - rust-lang#73130 (Remove const prop for indirects)
 - rust-lang#73142 (Ensure std benchmarks get tested.)
 - rust-lang#73305 (Disallow loading crates with non-ascii identifier name.)
 - rust-lang#73346 (Add rust specific features to print target features)
 - rust-lang#73362 (Test that bounds checks are elided when slice len is checked up-front)
 - rust-lang#73459 (Reduce pointer casts in Box::into_boxed_slice)
 - rust-lang#73464 (Document format correction)
 - rust-lang#73479 (Minor tweaks to liballoc)

Failed merges:

r? @ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
7 participants