<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/function-arguments.rs, branch 1.61.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.61.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.61.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-02-26T21:42:33+00:00</updated>
<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>
<entry>
<title>Enable mutable noalias by default for LLVM 12</title>
<updated>2021-03-21T19:10:54+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-03-18T21:50:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=39ed64399e842ec80eadb4eeb620154df6cc6130'/>
<id>urn:sha1:39ed64399e842ec80eadb4eeb620154df6cc6130</id>
<content type='text'>
We don't have any known noalias bugs for LLVM 12 ... yet.
</content>
</entry>
<entry>
<title>Support LLVM 12 in rustc</title>
<updated>2021-02-28T09:19:44+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-11-03T21:47:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=55f345f32505c2095966a5dc46c4ae3290dbf7a1'/>
<id>urn:sha1:55f345f32505c2095966a5dc46c4ae3290dbf7a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update codegen tests with unnamed arguments</title>
<updated>2020-01-07T20:28:22+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-12-31T15:05:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e365bc74355b4d6fc7fbc1f2fa2de778a92f2d87'/>
<id>urn:sha1:e365bc74355b4d6fc7fbc1f2fa2de778a92f2d87</id>
<content type='text'>
</content>
</entry>
</feed>
