<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/incremental/hashes/while_loops.rs, branch 1.56.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.56.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.56.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-08-15T19:18:26+00:00</updated>
<entry>
<title>Introduce hir::ExprKind::Let - Take 2</title>
<updated>2021-08-15T19:18:26+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2021-08-08T14:49:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6aa9937a768bf13e5f7bd0ee6dd8579403b39058'/>
<id>urn:sha1:6aa9937a768bf13e5f7bd0ee6dd8579403b39058</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename TypeckTables to TypeckResults.</title>
<updated>2020-07-17T08:47:04+00:00</updated>
<author>
<name>Valentin Lazureanu</name>
<email>valentin@lazureanu.com</email>
</author>
<published>2020-07-17T08:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e6adad33f3664d7f09742b73fd97aca63d6406f'/>
<id>urn:sha1:1e6adad33f3664d7f09742b73fd97aca63d6406f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mir_built is a lie</title>
<updated>2020-07-15T10:58:32+00:00</updated>
<author>
<name>Bastian Kauschke</name>
<email>bastian_kauschke@hotmail.de</email>
</author>
<published>2020-07-06T22:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4cb820528076bdac9f860a849c29993973bcf2d'/>
<id>urn:sha1:d4cb820528076bdac9f860a849c29993973bcf2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hir: replace "items" terminology with "nodes" where appropriate.</title>
<updated>2020-03-19T12:36:04+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2020-03-18T01:48:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e8f1dfae64e302c0da846d215697b323bb1ee0a2'/>
<id>urn:sha1:e8f1dfae64e302c0da846d215697b323bb1ee0a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace `HirBody` with `hir_owner_items` in tests</title>
<updated>2020-03-14T21:52:31+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2020-02-12T14:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0b60c428a051773dea79426cb4a6a03737ca902'/>
<id>urn:sha1:c0b60c428a051773dea79426cb4a6a03737ca902</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebugInfo.</title>
<updated>2019-11-27T17:22:03+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-05-16T15:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=563ed27c01c204d734355709c905f9a14246d4ff'/>
<id>urn:sha1:563ed27c01c204d734355709c905f9a14246d4ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[mir-opt] Turn on the `ConstProp` pass by default</title>
<updated>2019-11-12T01:57:26+00:00</updated>
<author>
<name>Wesley Wiser</name>
<email>wwiser@gmail.com</email>
</author>
<published>2019-10-28T09:59:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db5fc10c21f7ee8ef7649628ae37e6481b8ca14c'/>
<id>urn:sha1:db5fc10c21f7ee8ef7649628ae37e6481b8ca14c</id>
<content type='text'>
perf.rlo shows that running the `ConstProp` pass results in
across-the-board wins regardless of debug or opt complilation mode. As a
result, we're turning it on to get the compile time benefits.

`ConstProp` doesn't currently intern the memory used by its `Machine` so
we can't yet propagate allocations which is why
`ConstProp::should_const_prop()` checks if the value being propagated is
a scalar or not.
</content>
</entry>
<entry>
<title>Improve SimplifyLocals pass so it can remove unused consts</title>
<updated>2019-10-21T03:49:42+00:00</updated>
<author>
<name>Wesley Wiser</name>
<email>wwiser@gmail.com</email>
</author>
<published>2019-10-17T10:46:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ec73395b985a028062cc40faed6ace50be0c67d'/>
<id>urn:sha1:2ec73395b985a028062cc40faed6ace50be0c67d</id>
<content type='text'>
The `ConstProp` can cause many locals to be initialized to a constant
value and then never read from. `ConstProp` can also evaluate ZSTs into
constant values. Previously, many of these would be removed by other
parts of the MIR optimization pipeline. However, evaluating ZSTs
(especially `()`) into constant values defeated those parts of the
optimizer and so in a2e3ed5c054b544df6ceeb9e612d39af819f4aae, I added a
hack to `ConstProp` that skips evaluating ZSTs to avoid that regression.

This commit changes `SimplifyLocals` so that it doesn't consider writes
of const values to a local to be a use of that local. In doing so,
`SimplifyLocals` is able to remove otherwise unused locals left behind
by other optimization passes (`ConstProp` in particular).
</content>
</entry>
<entry>
<title>Cherry-pick src/test changes with Centril's changes</title>
<updated>2019-08-19T21:31:46+00:00</updated>
<author>
<name>sd234678</name>
<email>sd234678@protonmail.com</email>
</author>
<published>2019-08-19T21:31:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4eec03d33e0a833cb48998f5d8e47c01b9e32cf4'/>
<id>urn:sha1:4eec03d33e0a833cb48998f5d8e47c01b9e32cf4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>while_{let_}loops/change_{break,continue}: typeck_tables_of clean.</title>
<updated>2019-07-06T04:43:58+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-06-24T02:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b9e7e3175a8ca6f7bbc09a5ae229d8962d94121f'/>
<id>urn:sha1:b9e7e3175a8ca6f7bbc09a5ae229d8962d94121f</id>
<content type='text'>
</content>
</entry>
</feed>
