bors c2239bca5b Auto merge of #123185 - scottmcm:more-typed-copy, r=compiler-errors
Remove my `scalar_copy_backend_type` optimization attempt

I added this back in https://github.com/rust-lang/rust/pull/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 (https://github.com/rust-lang/rust/pull/115515#issuecomment-1750069529) make autovectorization worse

So this removes it from the codegen crates entirely, and instead just tries to use <https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/traits/builder/trait.BuilderMethods.html#method.typed_place_copy> instead of direct `memcpy` so things will still use load/store when a type isn't `OperandValue::Ref`.
2024-04-10 16:32:41 +00:00
..
2024-04-08 11:31:43 +09:00
2023-12-31 15:27:43 +08:00
2024-03-23 18:30:39 +00:00
2024-03-23 23:23:41 -07:00
2024-03-12 08:51:20 +00:00
2024-03-11 09:15:09 +11:00
2024-02-24 18:53:48 +03:00
2024-03-12 08:51:20 +00:00
2024-03-06 17:49:37 -08:00