<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/codegen/array-optimized.rs, branch 1.86.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.86.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.86.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-11T21:41:35+00:00</updated>
<entry>
<title>tests/codegen: use -Copt-level=3 instead of -O</title>
<updated>2025-02-11T21:41:35+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2025-02-09T03:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c0c9b6770f1ac0324be91580f52b6f45346e47b'/>
<id>urn:sha1:3c0c9b6770f1ac0324be91580f52b6f45346e47b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove my `scalar_copy_backend_type` optimization attempt</title>
<updated>2024-04-09T15:51:32+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-03-29T07:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5376ba6017fa04a13afda6ac52587f06a6c0bd8'/>
<id>urn:sha1:b5376ba6017fa04a13afda6ac52587f06a6c0bd8</id>
<content type='text'>
I added this back in 111999, but I no longer think it's a good idea
- It had to get scaled back to only power-of-two things to not break a bunch of targets
- LLVM seems to be getting better at memcpy removal anyway
- Introducing vector instructions has seemed to sometimes (115515) make autovectorization worse

So this removes it from the codegen crates entirely, and instead just tries to use &lt;https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/traits/builder/trait.BuilderMethods.html#method.typed_place_copy&gt; instead of direct `memcpy` so things will still use load/store for immediates.
</content>
</entry>
<entry>
<title>[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives</title>
<updated>2024-02-22T16:04:04+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2024-02-22T12:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e48b96692d63a79a14563f27fe5185f122434f8'/>
<id>urn:sha1:6e48b96692d63a79a14563f27fe5185f122434f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Copy 1-element arrays as scalars, not vectors</title>
<updated>2023-10-07T07:10:32+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-10-06T08:17:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae9cec58394d7a38aac17e2873d213d5fcd85f7a'/>
<id>urn:sha1:ae9cec58394d7a38aac17e2873d213d5fcd85f7a</id>
<content type='text'>
For `[T; 1]` it's silly to copy as `&lt;1 x T&gt;` when we can just copy as `T`.
</content>
</entry>
</feed>
