commit | fa0dc208d0a34027c1d3cca7d47975d8238bcfde | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Tue Jan 16 11:34:16 2024 +0000 |
committer | bors <bors@rust-lang.org> | Tue Jan 16 11:34:16 2024 +0000 |
tree | 4547cc426284d910643af86110c9401b70b1ee18 | |
parent | f9c2421a2a6e34f3756900dd7d600704c08bfccb [diff] | |
parent | bc35ee41fa6751a85a528656953b581fb02ddd25 [diff] |
Auto merge of #119672 - cjgillot:dse-sandwich, r=oli-obk Sandwich MIR optimizations between DSE. This PR reorders MIR optimization passes in an attempt to increase their efficiency. - Stop running CopyProp before GVN, it's useless as GVN will do the same thing anyway. Instead, we perform CopyProp at the end of the pipeline, to ensure we do not emit copy/move chains. - Run DSE before GVN, as it increases the probability to have single-assignment locals. - Run DSE after the final CopyProp to turn copies into moves. r? `@ghost`
This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.
Note: this README is for users rather than contributors. If you wish to contribute to the compiler, you should read CONTRIBUTING.md instead.
Read “Installation” from The Book.
If you really want to install from source (though this is not recommended), see INSTALL.md.
See https://www.rust-lang.org/community for a list of chat platforms and forums.
See CONTRIBUTING.md.
Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the “Rust Trademarks”).
If you want to use these names or brands, please read the media guide.
Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.