| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-30 | Make TLS accesses explicit in MIR | Oliver Scherer | -0/+8 | |
| 2020-05-06 | Define UB in float-to-int casts to saturate | Mark Rousskov | -1/+1 | |
| - Round to zero, and representable values cast directly. - `NaN` goes to 0 - Values beyond the limits of the type are saturated to the "nearest value" (essentially rounding to zero, in some sense) in the integral type, so e.g. `f32::INFINITY` would go to `{u,i}N::MAX.` | ||||
| 2020-04-22 | Don't use `*` for deref-coercion | Dylan MacKenzie | -3/+3 | |
| 2020-04-19 | Dogfood more or_patterns in the compiler | Josh Stone | -4/+5 | |
| 2020-04-05 | Stop importing int/float modules in librustc_* | Linus Färnstrand | -2/+0 | |
| 2020-04-02 | direct imports for langitem stuff | Mazdak Farrokhzad | -1/+1 | |
| 2020-04-02 | nix rustc_target::abi::* reexport in ty::layout | Mazdak Farrokhzad | -5/+6 | |
| 2020-03-31 | Use Place directly in codegen_place_to_pointer, it's Copy | Santiago Pastorino | -3/+3 | |
| 2020-03-31 | Use Place directly in evaluate_array_len, it's Copy | Santiago Pastorino | -2/+2 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -5/+5 | |
| 2020-03-23 | Evaluate repeat expression lengths as late as possible | Oliver Scherer | -0/+3 | |
| 2020-03-21 | Fix ICE caused by truncating a negative ZST enum discriminant | Wesley Wiser | -1/+6 | |
| 2020-02-27 | don't use .into() to convert types into identical types. | Matthias Krüger | -1/+1 | |
| example: let s: String = format!("hello").into(); | ||||
| 2020-01-28 | codegen_place and related functions can take PlaceRef by value | Santiago Pastorino | -3/+3 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -217/+211 | |
| 2019-12-20 | Rollup merge of #64588 - matthewjasper:mir-address-of, r=oli-obk | Mazdak Farrokhzad | -20/+38 | |
| Add a raw "address of" operator * Parse and feature gate `&raw [const | mut] expr` (feature gate name is `raw_address_of`) * Add `mir::Rvalue::AddressOf` * Use the new `Rvalue` for: * the new syntax * reference to pointer casts * drop shims for slices and arrays * Stop using `mir::Rvalue::Cast` with a reference as the operand * Correctly evaluate `mir::Rvalue::{Ref, AddressOf}` in constant propagation cc @Centril @RalfJung @oli-obk @eddyb cc #64490 | ||||
| 2019-12-18 | Add Rvalue::AddressOf to MIR | Matthew Jasper | -20/+38 | |
| This operator creates a raw pointer to a Place directly, without first creating a reference. See RFC #2582 for motivation. The Rvalue is currently unused. | ||||
| 2019-12-15 | Remove now-redundant range check on u128 -> f32 casts | Robin Kruppe | -36/+7 | |
| This code was added to avoid UB in LLVM 6 and earlier, but we no longer support those LLVM versions. Since https://reviews.llvm.org/D47807 (released in LLVM 7), uitofp does exactly what we need. Closes #51872 | ||||
| 2019-12-03 | rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache ↵ | Eduard-Mihai Burtescu | -3/+3 | |
| (#64736 fallout). | ||||
| 2019-12-02 | Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, ↵ | Paul Daniel Faria | -3/+3 | |
| rename all body_cache back to body | ||||
| 2019-12-02 | Remove BodyCache.body and rely on Deref as much as possible for ↵ | Paul Daniel Faria | -3/+3 | |
| ReadOnlyBodyCache | ||||
| 2019-12-02 | Undo minor changes that weren't needed, fix one lifetime typo | Paul Daniel Faria | -5/+1 | |
| 2019-12-02 | Simplify BodyCache impl and fix all remaining type errors in librustc_mir ↵ | Paul Daniel Faria | -2/+2 | |
| (lifetime errors still exist) | ||||
| 2019-12-02 | Account for new maybe_sideeffect helper that requires predecessors | Paul Daniel Faria | -3/+3 | |
| 2019-12-02 | Revert back to using FunctionCx's Body | Paul Daniel Faria | -29/+24 | |
| 2019-12-02 | Add Body back as field of FunctionCx, but under a different lifetime | Paul Daniel Faria | -2/+2 | |
| 2019-12-02 | Remove Body from FunctionCx, pass it along during librustc_codegen_ssa | Paul Daniel Faria | -25/+34 | |
| 2019-12-02 | Simplify Cache wrapper to single type, impl Deref on it, fix all compilation ↵ | Paul Daniel Faria | -3/+3 | |
| errors in librustc_codegen_ssa | ||||
| 2019-11-21 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -28/+27 | |
| 2019-10-25 | Don't cast directly from `&[T; N]` to `*const T` | Matthew Jasper | -0/+1 | |
| Instead coerce to `*const [T; N]` and then cast. | ||||
| 2019-10-22 | Pattern match over PlaceRef rather than Place | Santiago Pastorino | -4/+1 | |
| This prepares the code base for when projection is interned. Place's projection field is going to be `&List<PlaceElem<'tcx>>` so we won't be able to pattern match against it. | ||||
| 2019-10-19 | Remove unreachable unit tuple compare binop codegen | Caleb Behunin | -8/+1 | |
| 2019-10-13 | Remove MiscMethods::instances | bjorn3 | -3/+3 | |
| 2019-10-13 | Inline functions from cg_ssa::callee and remove the mod | bjorn3 | -2/+9 | |
| Fixes #65271 | ||||
| 2019-10-13 | Remove is_const_integral method from ConstMethods | bjorn3 | -1/+1 | |
| 2019-10-09 | Reifying callers of Instance::resolve use resolve_for_fn_ptr. | Adam Perry | -1/+1 | |
| 2019-10-03 | generate ClosureSubsts from SubstsRef | csmoe | -2/+3 | |
| 2019-09-29 | remove ClosureSubsts with SubstsRef | csmoe | -1/+3 | |
| 2019-09-25 | Rename `sty` to `kind` | varkor | -3/+3 | |
| 2019-09-14 | Rollup merge of #64435 - eddyb:arguments-against-arg, r=rkruppe | Mazdak Farrokhzad | -1/+1 | |
| codegen: use "_N" (like for other locals) instead of "argN", for argument names. Based on #64408 (second commit is new), fixing something I mentioned in #64408 (which turned to be an immediate blocker for unifying relevant codepaths). Closes #64408 (by containing it). r? @rkruppe | ||||
| 2019-09-12 | codegen: be more explicit about setting giving names to allocas. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-09-09 | Convert Place's projection to a boxed slice | Santiago Pastorino | -1/+1 | |
| 2019-08-29 | `new_sized` is mostly used without align | Dante-Broggi | -1/+1 | |
| so rename it `new_sized_aligned`. 6/11 use `align` = `layout.align.abi`. `from_const_alloc` uses `alloc.align`, but that is `assert_eq!` to `layout.align.abi`. only 4/11 use something interesting for `align`. | ||||
| 2019-08-07 | Auto merge of #63152 - estebank:big-array, r=oli-obk | bors | -4/+9 | |
| Always error on `SizeOverflow` during mir evaluation Fix #55878, fix #25116. r? @oli-obk | ||||
| 2019-08-05 | Fiddle param env through to `try_eval_bits` in most places | Oliver Scherer | -1/+1 | |
| 2019-08-05 | Don't abort on unevaluated constants without at least tryting to eval them | Oliver Scherer | -1/+1 | |
| 2019-08-04 | review comments: clean up | Esteban Küber | -4/+4 | |
