<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/function-arguments.rs, branch 1.65.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.65.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.65.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-07-27T14:19:07+00:00</updated>
<entry>
<title>Remove outdated rustc_allocator test</title>
<updated>2022-07-27T14:19:07+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2022-07-27T13:04:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e6f0e358d6fc811b02b9162d275217b5ac389ab6'/>
<id>urn:sha1:e6f0e358d6fc811b02b9162d275217b5ac389ab6</id>
<content type='text'>
This attribute now does more than just place noalias on the return,
and has specific requirements for the signature.

Drop the test entirely, as we already check __rust_alloc attributes
in other codegen tests.
</content>
</entry>
<entry>
<title>do not mark interior mutable shared refs as dereferenceable</title>
<updated>2022-07-22T18:25:41+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2022-06-21T03:51:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b7197af7fb379a84895084625b1eed47aa5c74f'/>
<id>urn:sha1:5b7197af7fb379a84895084625b1eed47aa5c74f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update some codegen tests for opaque pointers</title>
<updated>2022-05-25T15:29:37+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2022-02-21T10:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d7ff4e5096625b56f154fa485a1af9351c41b5c'/>
<id>urn:sha1:4d7ff4e5096625b56f154fa485a1af9351c41b5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply noundef attribute to all scalar types which do not permit raw init</title>
<updated>2022-02-26T21:42:33+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2022-02-12T06:38:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5979b681e6f7cfd760f45440624f8bc1759d2071'/>
<id>urn:sha1:5979b681e6f7cfd760f45440624f8bc1759d2071</id>
<content type='text'>
Beyond `&amp;`/`&amp;mut`/`Box`, this covers `char`, discriminants, `NonZero*`, etc.
All such types currently cause a Miri error if left uninitialized,
and an `invalid_value` lint in cases like `mem::uninitialized::&lt;char&gt;()`

Note that this _does not_ change whether or not it is UB for `u64` (or
other integer types with no invalid values) to be undef.
</content>
</entry>
<entry>
<title>apply noundef explicitly in all cases instead of relying on dereferenceable implying it</title>
<updated>2022-02-07T02:11:11+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2022-02-07T02:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75ed7def5d31845f5672461c706609bd76f93d08'/>
<id>urn:sha1:75ed7def5d31845f5672461c706609bd76f93d08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test that MaybeUninit&lt;bool&gt; is not noundef</title>
<updated>2022-02-07T02:09:21+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2022-02-07T02:09:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ced947fc124197bf87e2bdc6741d50db92d296a8'/>
<id>urn:sha1:ced947fc124197bf87e2bdc6741d50db92d296a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply noundef attribute to &amp;T, &amp;mut T, Box&lt;T&gt;, bool</title>
<updated>2022-02-05T06:09:52+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2022-02-05T06:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8cb0b6ca5bf1321d38f4602113b0f41c837d0586'/>
<id>urn:sha1:8cb0b6ca5bf1321d38f4602113b0f41c837d0586</id>
<content type='text'>
This doesn't handle `char` because it's a bit awkward to distinguish it
from u32 at this point in codegen.

Note that for some types (like `&amp;Struct` and `&amp;mut Struct`),
we already apply `dereferenceable`, which implies `noundef`,
so the IR does not change.
</content>
</entry>
<entry>
<title>Update the minimum external LLVM to 12</title>
<updated>2021-10-22T17:50:07+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2021-10-22T17:50:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9f545b9a952f193dbe15730bcbe47784b6e7cde'/>
<id>urn:sha1:e9f545b9a952f193dbe15730bcbe47784b6e7cde</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove redundant `ignore-tidy-linelength` annotations</title>
<updated>2021-04-03T20:30:20+00:00</updated>
<author>
<name>Simon Jakobi</name>
<email>simon.jakobi@gmail.com</email>
</author>
<published>2021-04-03T11:05:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ea62cb5d19846b44172d861ae231c8c09322800'/>
<id>urn:sha1:3ea62cb5d19846b44172d861ae231c8c09322800</id>
<content type='text'>
This is step 2 towards fixing #77548.

In the codegen and codegen-units test suites, the `//` comment markers
were kept in order not to affect any source locations. This is because
these tests cannot be automatically `--bless`ed.
</content>
</entry>
<entry>
<title>Don't compute optimized PointerKind for unoptimized builds</title>
<updated>2021-03-21T19:54:42+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-03-19T21:49:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ac229ca21b244451ec8325a5c2d96550c784a4a'/>
<id>urn:sha1:6ac229ca21b244451ec8325a5c2d96550c784a4a</id>
<content type='text'>
This saves us both the Freeze/Unpin queries, and avoids placing
noalias attributes, which have a compile-time impact on LLVM
even in optnone builds (due to always_inline functions).
</content>
</entry>
</feed>
