diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-03-29 00:00:24 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-04-09 08:51:32 -0700 |
| commit | b5376ba6017fa04a13afda6ac52587f06a6c0bd8 (patch) | |
| tree | c75fa5017a7be5616695522ecfe57ee4cd1abd5d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | ff24ef91fc848832a8dab483d3b17097cbead5a8 (diff) | |
| download | rust-b5376ba6017fa04a13afda6ac52587f06a6c0bd8.tar.gz rust-b5376ba6017fa04a13afda6ac52587f06a6c0bd8.zip | |
Remove my `scalar_copy_backend_type` optimization attempt
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 <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 for immediates.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
