about summary refs log tree commit diff
path: root/tests/codegen/array-codegen.rs
AgeCommit message (Collapse)AuthorLines
2025-07-22Rename `tests/codegen` into `tests/codegen-llvm`Guillaume Gomez-62/+0
2025-02-11tests/codegen: use -Copt-level=3 instead of -OJubilee Young-1/+1
2024-04-11use [N x i8] for alloca typesErik Desjardins-1/+1
2024-04-09Remove my `scalar_copy_backend_type` optimization attemptScott McMurray-19/+25
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.
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2023-10-07Copy 1-element arrays as scalars, not vectorsScott McMurray-0/+22
For `[T; 1]` it's silly to copy as `<1 x T>` when we can just copy as `T`.
2023-07-27Update the minimum external LLVM to 15Josh Stone-1/+0
2023-07-08Always name the return place.Camille GILLOT-3/+3
2023-06-04Use `load`-`store` instead of `memcpy` for short integer arraysScott McMurray-0/+35