| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-02-21 | formatting fixes | Petr Sumbera | -8/+2 | |
| 2022-02-21 | more complete sparc64 ABI fix for aggregates with floating point members | Petr Sumbera | -101/+183 | |
| Previous fix didn't handle nested structures at all. | ||||
| 2022-02-19 | Adopt let else in more places | est31 | -6/+3 | |
| 2022-02-13 | Auto merge of #93670 - erikdesjardins:noundef, r=nikic | bors | -1/+6 | |
| Apply noundef attribute to &T, &mut T, Box<T>, bool This doesn't handle `char` because it's a bit awkward to distinguish it from `u32` at this point in codegen. Note that this _does not_ change whether or not it is UB for `&`, `&mut`, or `Box` to point to undef. It only applies to the pointer itself, not the pointed-to memory. Fixes (partially) #74378. r? `@nikic` cc `@RalfJung` | ||||
| 2022-02-09 | Make FnAbiError Copy. | Camille GILLOT | -3/+7 | |
| 2022-02-08 | Auto merge of #93561 - Amanieu:more-unwind-abi, r=nagisa | bors | -9/+11 | |
| Add more *-unwind ABI variants The following *-unwind ABIs are now supported: - "C-unwind" - "cdecl-unwind" - "stdcall-unwind" - "fastcall-unwind" - "vectorcall-unwind" - "thiscall-unwind" - "aapcs-unwind" - "win64-unwind" - "sysv64-unwind" - "system-unwind" cc `@rust-lang/wg-ffi-unwind` | ||||
| 2022-02-05 | Apply noundef attribute to &T, &mut T, Box<T>, bool | Erik Desjardins | -1/+6 | |
| 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. | ||||
| 2022-02-02 | Add more *-unwind ABI variants | Amanieu d'Antras | -9/+11 | |
| The following *-unwind ABIs are now supported: - "C-unwind" - "cdecl-unwind" - "stdcall-unwind" - "fastcall-unwind" - "vectorcall-unwind" - "thiscall-unwind" - "aapcs-unwind" - "win64-unwind" - "sysv64-unwind" - "system-unwind" | ||||
| 2021-12-17 | Eliminate duplicate codes of is_single_fp_element | lzh | -40/+22 | |
| 2021-12-01 | fix sparc64 ABI for aggregates with floating point members | Petr Sumbera | -47/+133 | |
| 2021-11-05 | Update LLVM comments around NoAliasMutRef | Josh Stone | -2/+4 | |
| 2021-10-19 | Fix issue 90038 | Gary Guo | -1/+1 | |
| 2021-09-20 | Auto merge of #88321 - glaubitz:m68k-linux, r=wesleywiser | bors | -0/+32 | |
| Add initial support for m68k This patch series adds initial support for m68k making use of the new M68k backend introduced with LLVM-13. Additional changes will be needed to be able to actually use the backend for this target. | ||||
| 2021-09-18 | Querify `fn_abi_of_{fn_ptr,instance}`. | Eduard-Mihai Burtescu | -0/+1 | |
| 2021-09-18 | ty::layout: intern `FnAbi`s as `&'tcx`. | Eduard-Mihai Burtescu | -11/+11 | |
| 2021-09-18 | ty::layout: propagate errors up to (but not out of) `FnAbi::of_*`. | Eduard-Mihai Burtescu | -2/+25 | |
| 2021-09-18 | rustc_target: `adjust_for_cabi` -> `adjust_for_foreign_abi`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2021-09-17 | compiler/rustc_target: Add support for m68k-linux-gnu | John Paul Adrian Glaubitz | -0/+32 | |
| 2021-09-13 | enum niche allocation grows toward zero if possible | Andreas Liljeqvist | -9/+43 | |
| 2021-09-09 | bugfix | Andreas Liljeqvist | -1/+1 | |
| 2021-09-09 | Wrap | Andreas Liljeqvist | -1/+1 | |
| 2021-09-09 | rename `is_valid_for` to `is_valid` | Andreas Liljeqvist | -2/+2 | |
| 2021-09-09 | Rename `(un)signed` to `(un)signed_int` | Andreas Liljeqvist | -6/+6 | |
| 2021-09-09 | Move `unsigned_max` etc into `Size` again | Andreas Liljeqvist | -7/+22 | |
| 2021-09-09 | Make `abi::Abi` `Copy` and remove a *lot* of refs | Andreas Liljeqvist | -19/+19 | |
| fix fix Remove more refs and clones fix more fix | ||||
| 2021-09-09 | Fix docstring | Andreas Liljeqvist | -2/+1 | |
| 2021-09-09 | Use special `Debug` format when `start` > `end` | Andreas Liljeqvist | -1/+5 | |
| 2021-09-09 | Remove `contains_zero`, respect the compiler | Andreas Liljeqvist | -8/+1 | |
| 2021-09-09 | derive Copy for WrappingRange and Scalar | Andreas Liljeqvist | -5/+5 | |
| 2021-09-09 | fix match | Andreas Liljeqvist | -2/+4 | |
| 2021-09-09 | Add methods for checking for full ranges to `Scalar` and `WrappingRange` | Andreas Liljeqvist | -21/+15 | |
| Move *_max methods back to util change to inline instead of inline(always) Remove valid_range_exclusive from scalar Use WrappingRange instead implement always_valid_for in a safer way Fix accidental edit | ||||
| 2021-09-02 | rustc_target: move `LayoutOf` to `ty::layout`. | Eduard-Mihai Burtescu | -41/+0 | |
| 2021-08-30 | rustc_target: remove `LayoutOf` bound from `TyAbiInterface`. | Eduard-Mihai Burtescu | -61/+51 | |
| 2021-08-30 | rustc_target: `TyAndLayout::field` should never error. | Eduard-Mihai Burtescu | -9/+8 | |
| 2021-08-27 | rustc_target: require `TyAbiInterface` in `LayoutOf`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2021-08-27 | rustc_target: rename `TyAndLayoutMethods` to `TyAbiInterface`. | Eduard-Mihai Burtescu | -65/+71 | |
| 2021-08-27 | rustc_target: add lifetime parameter to `LayoutOf`. | Eduard-Mihai Burtescu | -79/+64 | |
| 2021-08-26 | `#[inline]` non-generic `pub fn`s in `rustc_target::abi` and `ty::layout`. | Eduard-Mihai Burtescu | -0/+21 | |
| 2021-08-26 | Auto merge of #88308 - eddyb:cooked-layouts, r=nagisa | bors | -1/+1 | |
| Morph `layout_raw` query into `layout_of`. Before this PR, `LayoutCx::layout_of` wrapped the `layout_raw` query, to: * normalize the type, before attempting to compute the layout * pass the layout to `record_layout_for_printing`, for `-Zprint-type-sizes` Moving those two responsibilities into the query may reduce overhead (due to cached calls skipping those steps), but I want to do a perf run to know. One of the changes I had to make was changing the return type of the query, to be able to both get out the type produced by normalizing inside the query *and* to match the signature of the old `TyCtxt::layout_of`. This change may be worse, perf-wise, so that's another reason I want to check. r? `@nagisa` cc `@oli-obk` | ||||
| 2021-08-25 | use undef for uninitialized bytes in constants | Erik Desjardins | -0/+38 | |
| 2021-08-24 | Morph `layout_raw` query into `layout_of`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2021-08-24 | use convention for with_* methods | Andreas Liljeqvist | -7/+9 | |
| 2021-08-24 | Force inline: small functions and single call-site | Andreas Liljeqvist | -2/+4 | |
| 2021-08-23 | Simplify zero check | Andreas Liljeqvist | -1/+1 | |
| 2021-08-23 | add `with_start` and `with_end` | Andreas Liljeqvist | -1/+11 | |
| 2021-08-23 | implement debug in similar way to RangeInclusive | Andreas Liljeqvist | -1/+8 | |
| 2021-08-23 | Rename to WrappingRange | Andreas Liljeqvist | -5/+5 | |
| 2021-08-23 | implement contains_zero method | Andreas Liljeqvist | -3/+9 | |
| 2021-08-23 | Use ref | Andreas Liljeqvist | -2/+2 | |
| 2021-08-23 | Removed fixed fixme | Andreas Liljeqvist | -3/+0 | |
