<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_mir/src/transform/match_branches.rs, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-09-06T22:43:14+00:00</updated>
<entry>
<title>Move rustc_mir::transform to rustc_mir_transform.</title>
<updated>2021-09-06T22:43:14+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-01-01T00:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bba4be681d664a50ab307ec732f957c02255e067'/>
<id>urn:sha1:bba4be681d664a50ab307ec732f957c02255e067</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove box syntax from rustc_mir</title>
<updated>2021-08-18T07:31:51+00:00</updated>
<author>
<name>est31</name>
<email>MTest31@outlook.com</email>
</author>
<published>2021-08-05T03:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99db8fa9c2b034986242615559b5435cd3a5f97b'/>
<id>urn:sha1:99db8fa9c2b034986242615559b5435cd3a5f97b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reland - Report coverage `0` of dead blocks</title>
<updated>2021-06-01T20:28:59+00:00</updated>
<author>
<name>Rich Kadel</name>
<email>richkadel@google.com</email>
</author>
<published>2021-05-01T21:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4f76e60b3c4b0f52caecc5e52f9ee7f24b7d050'/>
<id>urn:sha1:f4f76e60b3c4b0f52caecc5e52f9ee7f24b7d050</id>
<content type='text'>
Fixes: #84018

With `-Z instrument-coverage`, coverage reporting of dead blocks
(for example, blocks dropped because a conditional branch is dropped,
based on const evaluation) is now supported.

Note, this PR relands an earlier, reverted PR that failed when compiling
generators. The prior issues with generators has been resolved and a new
test was added to prevent future regressions.

Check out the resulting changes to test coverage of dead blocks in the
test coverage reports in this PR.
</content>
</entry>
<entry>
<title>Revert "Auto merge of #84797 - richkadel:cover-unreachable-statements, r=tmandry"</title>
<updated>2021-05-11T19:47:08+00:00</updated>
<author>
<name>Rich Kadel</name>
<email>richkadel@google.com</email>
</author>
<published>2021-05-11T19:47:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bea112ba07ec3da0de8de041bc3d510fe445b157'/>
<id>urn:sha1:bea112ba07ec3da0de8de041bc3d510fe445b157</id>
<content type='text'>
This reverts commit e5f83d24aee866a14753a7cedbb4e301dfe5bef5, reversing
changes made to ac888e8675182c703c2cd097957878faf88dad94.
</content>
</entry>
<entry>
<title>Report coverage `0` of dead blocks</title>
<updated>2021-05-01T22:04:48+00:00</updated>
<author>
<name>Rich Kadel</name>
<email>richkadel@google.com</email>
</author>
<published>2021-05-01T21:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b0d293c7c46bdadf80e5304a667e34c53c0cf7e'/>
<id>urn:sha1:0b0d293c7c46bdadf80e5304a667e34c53c0cf7e</id>
<content type='text'>
Fixes: #84018

With `-Z instrument-coverage`, coverage reporting of dead blocks
(for example, blocks dropped because a conditional branch is dropped,
based on const evaluation) is now supported.

If `instrument-coverage` is enabled, `simplify::remove_dead_blocks()`
finds all dropped coverage `Statement`s and adds their `code_region`s as
`Unreachable` coverage `Statement`s to the `START_BLOCK`, so they are
still included in the coverage map.

Check out the resulting changes in the test coverage reports in this PR.
</content>
</entry>
<entry>
<title>Use iter::zip in compiler/</title>
<updated>2021-03-26T16:32:31+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2021-03-08T23:32:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72ebebe474aae7203a27fdc1296617edd01321f1'/>
<id>urn:sha1:72ebebe474aae7203a27fdc1296617edd01321f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prepare mir::Constant for ty::Const only supporting valtrees</title>
<updated>2021-03-12T12:43:54+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2021-03-08T16:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3127a9c60f267c862d2b0f1250c28f38891b94aa'/>
<id>urn:sha1:3127a9c60f267c862d2b0f1250c28f38891b94aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelix</title>
<updated>2021-03-08T08:39:24+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-03-08T08:39:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27885a94c6a6c98a0d49af3962f1218adcd6efd2'/>
<id>urn:sha1:27885a94c6a6c98a0d49af3962f1218adcd6efd2</id>
<content type='text'>
Test the effect of shrinking the size of Rvalue by 16 bytes

r? `@ghost`
</content>
</entry>
<entry>
<title>Bump all mir_opt_level 2 to 3</title>
<updated>2021-03-05T20:13:57+00:00</updated>
<author>
<name>Santiago Pastorino</name>
<email>spastorino@gmail.com</email>
</author>
<published>2021-03-03T21:56:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=782c7b04cf7a815890fc0bb50ad721081779d0a5'/>
<id>urn:sha1:782c7b04cf7a815890fc0bb50ad721081779d0a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>For better consistency change mir_opt_level &lt;= 1 to &lt; 2</title>
<updated>2021-03-05T20:13:56+00:00</updated>
<author>
<name>Santiago Pastorino</name>
<email>spastorino@gmail.com</email>
</author>
<published>2021-03-03T22:41:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fde8d6ee817b8e8f4f900849697e6a427c6781dd'/>
<id>urn:sha1:fde8d6ee817b8e8f4f900849697e6a427c6781dd</id>
<content type='text'>
</content>
</entry>
</feed>
