<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/mir/place.rs, branch 1.69.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.69.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.69.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-23T04:41:39+00:00</updated>
<entry>
<title>abi: add `AddressSpace` field to `Primitive::Pointer`</title>
<updated>2023-01-23T04:41:39+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2023-01-23T04:03:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=009192b01bd88a7bb6c1948d1f47dd598af0bfd9'/>
<id>urn:sha1:009192b01bd88a7bb6c1948d1f47dd598af0bfd9</id>
<content type='text'>
...and remove it from `PointeeInfo`, which isn't meant for this.

There are still various places (marked with FIXMEs) that assume all pointers
have the same size and alignment. Fixing this requires parsing non-default
address spaces in the data layout string, which will be done in a followup.
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: Fix for codegen_get_discr</title>
<updated>2022-11-18T21:16:12+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-11-17T15:03:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31c0645b9d2539f47eecb096142474b29dc542f7'/>
<id>urn:sha1:31c0645b9d2539f47eecb096142474b29dc542f7</id>
<content type='text'>
When doing the optimized implementation of getting the discriminant, the
arithmetic needs to be done in the tag type so wrapping behavior works
correctly.

Fixes #104519
</content>
</entry>
<entry>
<title>add is_sized method on Abi and Layout, and use it</title>
<updated>2022-11-13T11:23:53+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2022-11-13T11:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c78021709a3e0265e6ac3c82fe50c1d4fc67467f'/>
<id>urn:sha1:c78021709a3e0265e6ac3c82fe50c1d4fc67467f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: Better code generation for niche discriminants.</title>
<updated>2022-11-11T05:54:30+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-10-10T17:29:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51918dcc51360d79cec771ef556ae9181ebaeb2e'/>
<id>urn:sha1:51918dcc51360d79cec771ef556ae9181ebaeb2e</id>
<content type='text'>
In some cases we can avoid arithmetic before checking whether a niche
represents an untagged variant.

This is relevant to #101872
</content>
</entry>
<entry>
<title>Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank""</title>
<updated>2022-09-16T11:36:39+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2022-07-27T11:58:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40e2de8c41b17b4813142b669ec083b5ef530dd6'/>
<id>urn:sha1:40e2de8c41b17b4813142b669ec083b5ef530dd6</id>
<content type='text'>
This reverts commit 4a742a691e7dd2522bad68b86fe2fd5a199d5561.
</content>
</entry>
<entry>
<title>Change name of "dataful" variant to "untagged"</title>
<updated>2022-09-07T20:12:45+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-08-25T01:14:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a08b96a0bb7c170130144214787b4a46aa5eb17'/>
<id>urn:sha1:1a08b96a0bb7c170130144214787b4a46aa5eb17</id>
<content type='text'>
This is in anticipation of a new enum layout, in which the niche
optimization may be applied even when multiple variants have data.
</content>
</entry>
<entry>
<title>Remove LLVM ARM bug workaround</title>
<updated>2022-08-24T16:34:33+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-08-24T05:26:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12a9914a86a7fbf8a7101fe88918fa50441778a2'/>
<id>urn:sha1:12a9914a86a7fbf8a7101fe88918fa50441778a2</id>
<content type='text'>
This memset was inserted as a workaround to Rust issue #34427, which was
an LLVM bug that apparently no longer manifests.
</content>
</entry>
<entry>
<title>simplify more, ret_deref -&gt; has_deref</title>
<updated>2022-07-22T14:35:26+00:00</updated>
<author>
<name>ouz-a</name>
<email>oguz.agcayazi@gmail.com</email>
</author>
<published>2022-05-16T13:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3e1e7a947e65f16b35cbd4af9607fc670474542'/>
<id>urn:sha1:c3e1e7a947e65f16b35cbd4af9607fc670474542</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simplify some code that depend on Deref</title>
<updated>2022-07-22T14:32:50+00:00</updated>
<author>
<name>ouz-a</name>
<email>oguz.agcayazi@gmail.com</email>
</author>
<published>2022-05-11T21:27:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0e4230bf5596d83d61c7a4ca5b06f0490ac4dba'/>
<id>urn:sha1:c0e4230bf5596d83d61c7a4ca5b06f0490ac4dba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"</title>
<updated>2022-07-20T07:55:58+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2022-07-20T07:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4a742a691e7dd2522bad68b86fe2fd5a199d5561'/>
<id>urn:sha1:4a742a691e7dd2522bad68b86fe2fd5a199d5561</id>
<content type='text'>
This reverts commit 6f8fb911ad504b77549cf3256a09465621beab9d, reversing
changes made to 7210e46dc69a4b197a313d093fe145722c248b7d.
</content>
</entry>
</feed>
