<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/slice-reverse.rs, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't run the codegen test when `debug_assert` is enabled</title>
<updated>2021-11-15T00:24:31+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2021-11-15T00:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f541dd13f17fd41800c65019e7d133a0a8e63370'/>
<id>urn:sha1:f541dd13f17fd41800c65019e7d133a0a8e63370</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MIRI says `reverse` is UB, so replace it with an implementation that LLVM can vectorize</title>
<updated>2021-11-12T04:32:18+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2021-11-12T04:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=71f5cfb21f3fd2f1740bced061c66ff112fec259'/>
<id>urn:sha1:71f5cfb21f3fd2f1740bced061c66ff112fec259</id>
<content type='text'>
For small types with padding, the current implementation is UB because it does integer operations on uninit values.  But LLVM has gotten smarter since I wrote the previous implementation in 2017, so remove all the manual magic and just write it in such a way that LLVM will vectorize.  This code is much simpler (albeit nuanced) and has very little `unsafe`, and is actually faster to boot!
</content>
</entry>
</feed>
