<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/incremental/hashes/while_let_loops.rs, branch 1.44.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.44.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.44.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-03-19T12:36:04+00:00</updated>
<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>[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>
<entry>
<title>Migrate compile-pass annotations to build-pass</title>
<updated>2019-07-02T21:30:28+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2019-07-02T21:30:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c004451a209dce4960fc295ff799e17f2630a00c'/>
<id>urn:sha1:c004451a209dce4960fc295ff799e17f2630a00c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests</title>
<updated>2019-03-30T17:43:26+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2019-03-29T16:05:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=45580684825c1855a4be5a7b4cd28525b24e7322'/>
<id>urn:sha1:45580684825c1855a4be5a7b4cd28525b24e7322</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add no_hash to query macro and move some queries over</title>
<updated>2019-03-20T15:06:09+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2019-03-20T15:06:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72f8d4e2220cc48061288b57d716f194567b4307'/>
<id>urn:sha1:72f8d4e2220cc48061288b57d716f194567b4307</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests</title>
<updated>2019-02-08T03:28:36+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2019-01-26T15:52:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0f02cdba0050bba5a963dc14643d6ca7b7cd396'/>
<id>urn:sha1:a0f02cdba0050bba5a963dc14643d6ca7b7cd396</id>
<content type='text'>
</content>
</entry>
</feed>
