<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/incremental/hashes/while_loops.rs, branch 1.40.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.40.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.40.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-10-21T03:49:42+00:00</updated>
<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>Adjust incremental test while_loops.rs</title>
<updated>2019-07-06T04:43:58+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-06-20T10:29:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ebcc966ac1a3c0784e4ff0a2191aa1a01639c273'/>
<id>urn:sha1:ebcc966ac1a3c0784e4ff0a2191aa1a01639c273</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>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename must-compile-successfully into compile-pass</title>
<updated>2018-04-13T21:28:03+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2018-04-02T11:20:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=812656dc9543a16c27cf0a5aad1171ea3cc01a0d'/>
<id>urn:sha1:812656dc9543a16c27cf0a5aad1171ea3cc01a0d</id>
<content type='text'>
</content>
</entry>
</feed>
