<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff, branch 1.63.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.63.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.63.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-05-25T02:50:21+00:00</updated>
<entry>
<title>Add dead store elimination pass</title>
<updated>2022-05-25T02:50:21+00:00</updated>
<author>
<name>Jakob Degen</name>
<email>jakob.e.degen@gmail.com</email>
</author>
<published>2022-05-10T00:12:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf153a241dda6c44ea34095b57372c64b98989f2'/>
<id>urn:sha1:bf153a241dda6c44ea34095b57372c64b98989f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bless mir-opt</title>
<updated>2022-05-06T08:58:54+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2022-05-06T08:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4557529704e0ec6956bb1fadf666abe9b1a9a61'/>
<id>urn:sha1:d4557529704e0ec6956bb1fadf666abe9b1a9a61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests broken by deaggregation change</title>
<updated>2022-04-11T13:26:26+00:00</updated>
<author>
<name>Jakob Degen</name>
<email>jakob.e.degen@gmail.com</email>
</author>
<published>2022-04-05T23:02:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a040284a5bc3bee1e78a7bea60e15a0033ef2b5'/>
<id>urn:sha1:2a040284a5bc3bee1e78a7bea60e15a0033ef2b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change `mir::Constant` in mir dumps</title>
<updated>2022-02-22T08:38:07+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2022-02-21T07:10:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee0b56483faecb052c1bb0b08bdc3fc1887bb961'/>
<id>urn:sha1:ee0b56483faecb052c1bb0b08bdc3fc1887bb961</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mir-opt bless for Size field being removed from Allocation</title>
<updated>2021-05-17T11:30:25+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2021-05-16T17:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5d71c67423f32a091b8632ed4f533d5dacd4e67f'/>
<id>urn:sha1:5d71c67423f32a091b8632ed4f533d5dacd4e67f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bless tests</title>
<updated>2021-03-16T01:58:54+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-03-16T01:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90562b401ee63d05d2c96bb2240074dd528d9371'/>
<id>urn:sha1:90562b401ee63d05d2c96bb2240074dd528d9371</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[mir-opt] Allow debuginfo to be generated for a constant or a Place</title>
<updated>2020-12-07T01:48:25+00:00</updated>
<author>
<name>Wesley Wiser</name>
<email>wwiser@gmail.com</email>
</author>
<published>2020-05-30T19:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01aec8d18556be5e8d498c2f331b9015b7befde2'/>
<id>urn:sha1:01aec8d18556be5e8d498c2f331b9015b7befde2</id>
<content type='text'>
Prior to this commit, debuginfo was always generated by mapping a name
to a Place. This has the side-effect that `SimplifyLocals` cannot remove
locals that are only used for debuginfo because their other uses have
been const-propagated.

To allow these locals to be removed, we now allow debuginfo to point to
a constant value. The `ConstProp` pass detects when debuginfo points to
a local with a known constant value and replaces it with the value. This
allows the later `SimplifyLocals` pass to remove the local.
</content>
</entry>
</feed>
