<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/mir/constant.rs, branch 1.56.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.56.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.56.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-03-20T16:22:24+00:00</updated>
<entry>
<title>update `const_eval_resolve`</title>
<updated>2021-03-20T16:22:24+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2021-03-13T15:31:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c9b5b4ce03c84f4c48ca39c96ff7ff20df0daad'/>
<id>urn:sha1:7c9b5b4ce03c84f4c48ca39c96ff7ff20df0daad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extract `ConstKind::Unevaluated` into a struct</title>
<updated>2021-03-20T16:21:44+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2021-03-11T23:01:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43ebac119b853de626fcc9afb49c5b0544731141'/>
<id>urn:sha1:43ebac119b853de626fcc9afb49c5b0544731141</id>
<content type='text'>
</content>
</entry>
<entry>
<title>s/ConstantSource/ConstantKind/</title>
<updated>2021-03-15T12:06:52+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2021-03-15T11:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c30c1be1e69a0cf37855b611fa0921e41e04016f'/>
<id>urn:sha1:c30c1be1e69a0cf37855b611fa0921e41e04016f</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>Add `ty` helper function for mir constants</title>
<updated>2021-03-12T12:33:46+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2021-03-08T14:14:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=914df2a493a0f14e1b74db8618016c4de2feedce'/>
<id>urn:sha1:914df2a493a0f14e1b74db8618016c4de2feedce</id>
<content type='text'>
This is in preparation of the `literal` field becoming an enum that distinguishes between type level constants and runtime constants
</content>
</entry>
<entry>
<title>clean up some const error reporting around promoteds</title>
<updated>2021-01-24T12:34:34+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2021-01-24T11:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48f9dbfd59356f865f81ce674eefdbab2d7c3cbb'/>
<id>urn:sha1:48f9dbfd59356f865f81ce674eefdbab2d7c3cbb</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>
<entry>
<title>compiler: fold by value</title>
<updated>2020-11-16T21:34:57+00:00</updated>
<author>
<name>Bastian Kauschke</name>
<email>bastian_kauschke@hotmail.de</email>
</author>
<published>2020-10-24T00:21:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2bf93bd852f0636eb4d052ee155bdb6cec592c53'/>
<id>urn:sha1:2bf93bd852f0636eb4d052ee155bdb6cec592c53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mv compiler to compiler/</title>
<updated>2020-08-30T15:45:07+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-08-28T03:58:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e5f7d5631b8f4009ac1c693e585d4b7108d4275'/>
<id>urn:sha1:9e5f7d5631b8f4009ac1c693e585d4b7108d4275</id>
<content type='text'>
</content>
</entry>
</feed>
