| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -81/+0 | |
| 2022-05-25 | Update some codegen tests for opaque pointers | Nikita Popov | -23/+19 | |
| 2022-02-05 | Apply noundef attribute to &T, &mut T, Box<T>, bool | Erik Desjardins | -2/+2 | |
| This doesn't handle `char` because it's a bit awkward to distinguish it from u32 at this point in codegen. Note that for some types (like `&Struct` and `&mut Struct`), we already apply `dereferenceable`, which implies `noundef`, so the IR does not change. | ||||
| 2021-04-03 | Manually set dso_local when its valid to do so | Simonas Kazlauskas | -6/+6 | |
| This should have no real effect in most cases, as e.g. `hidden` visibility already implies `dso_local` (or at least LLVM IR does not preserve the `dso_local` setting if the item is already `hidden`), but it should fix `-Crelocation-model=static` and improve codegen in executables. Note that this PR does not exhaustively port the logic in [clang]. Only the obviously correct portion and what is necessary to fix a regression from LLVM 12 that relates to `-Crelocation_model=static`. Fixes #83335 [clang]: https://github.com/llvm/llvm-project/blob/3001d080c813da20b329303bf8f45451480e5905/clang/lib/CodeGen/CodeGenModule.cpp#L945-L1039 | ||||
| 2020-12-10 | tests: codegen/transmute-scalar needs optimizations enabled. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-12-09 | tests: add 3 cases involving pointers to codegen/transmute-scalar. | Eduard-Mihai Burtescu | -0/+50 | |
| 2020-12-07 | rustc_codegen_ssa: use bitcasts instead of type punning for scalar transmutes. | Eduard-Mihai Burtescu | -0/+35 | |
