| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -2/+2 | |
| 2020-02-12 | Fix mangled names of lifetime intrinsics | Nikita Popov | -2/+2 | |
| 2020-02-12 | Use IRBuilder to create memset | Nikita Popov | -6/+11 | |
| To avoid creating memsets with outdated signature. For some reason SROA chokes on this when using NewPM. | ||||
| 2020-02-03 | rustc_codegen_ssa: split declare_local into create_dbg_var and dbg_var_addr. | Eduard-Mihai Burtescu | -0/+1 | |
| 2020-01-27 | Detect use-after-scope bugs with AddressSanitizer | Tomasz Miąsko | -4/+11 | |
| Enable use-after-scope checks by default when using AddressSanitizer. They allow to detect incorrect use of stack objects after their scope have already ended. The detection is based on LLVM lifetime intrinsics. To facilitate the use of this functionality, the lifetime intrinsics are now emitted regardless of optimization level if enabled sanitizer makes use of them. | ||||
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -255/+230 | |
| 2019-12-11 | rustc: Link LLVM directly into rustc again | Alex Crichton | -0/+2 | |
| This commit builds on #65501 continue to simplify the build system and compiler now that we no longer have multiple LLVM backends to ship by default. Here this switches the compiler back to what it once was long long ago, which is linking LLVM directly to the compiler rather than dynamically loading it at runtime. The `codegen-backends` directory of the sysroot no longer exists and all relevant support in the build system is removed. Note that `rustc` still supports a dynamically loaded codegen backend as it did previously, it just no longer supports dynamically loaded codegen backends in its own sysroot. Additionally as part of this the `librustc_codegen_llvm` crate now once again explicitly depends on all of its crates instead of implicitly loading them through the sysroot. This involved filling out its `Cargo.toml` and deleting all the now-unnecessary `extern crate` annotations in the header of the crate. (this in turn required adding a number of imports for names of macros too). The end results of this change are: * Rustbuild's build process for the compiler as all the "oh don't forget the codegen backend" checks can be easily removed. * Building `rustc_codegen_llvm` is much simpler since it's simply another compiler crate. * Managing the dependencies of `rustc_codegen_llvm` is much simpler since it's "just another `Cargo.toml` to edit" * The build process should be a smidge faster because there's more parallelism in the main rustc build step rather than splitting `librustc_codegen_llvm` out to its own step. * The compiler is expected to be slightly faster by default because the codegen backend does not need to be dynamically loaded. * Disabling LLVM as part of rustbuild is still supported, supporting multiple codegen backends is still supported, and dynamic loading of a codegen backend is still supported. | ||||
| 2019-11-24 | Store ptr_width as u32 on Config | Mark Rousskov | -2/+2 | |
| This removes the dependency on IntTy, UintTy from Session. | ||||
| 2019-10-27 | Always use consteval to codegen caller_location. | Adam Perry | -16/+0 | |
| 2019-10-27 | Panicking infra uses &core::panic::Location. | Adam Perry | -30/+0 | |
| This allows us to remove `static_panic_msg` from the SSA<->LLVM boundary, along with its fat pointer representation for &str. Also changes the signature of PanicInfo::internal_contructor to avoid copying. Closes #65856. | ||||
| 2019-10-27 | Implement core::intrinsics::caller_location. | Adam Perry | -0/+15 | |
| Returns a `&core::panic::Location` corresponding to where it was called, also making `Location` a lang item. | ||||
| 2019-10-13 | s/FuncId/Function | bjorn3 | -1/+1 | |
| 2019-10-13 | Introduce FuncId backend type | bjorn3 | -0/+1 | |
| 2019-09-26 | Rename some `_sty` variables to `_kind` | varkor | -4/+4 | |
| 2019-09-25 | Rename `sty` to `kind` | varkor | -1/+1 | |
| 2019-09-12 | codegen: be more explicit about setting giving names to allocas. | Eduard-Mihai Burtescu | -18/+5 | |
| 2019-09-05 | Rollup merge of #64003 - Dante-Broggi:place-align-in-layout, r=matthewjasper | Mazdak Farrokhzad | -1/+1 | |
| place: Passing `align` = `layout.align.abi`, when also passing `layout` Of the calls changed: 7/12 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-09-04 | Remove `LocalInternedString` uses from `librustc_codegen_llvm`. | Nicholas Nethercote | -3/+3 | |
| 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-07-20 | Remove vector fadd/fmul reduction workarounds | Nikita Popov | -6/+6 | |
| The bugs that this was working around have been fixed in LLVM 9. | ||||
| 2019-07-08 | normalize use of backticks for compiler messages in librustc_codegen | Samy Kacimi | -4/+4 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -1/+1 | |
| 2019-06-23 | Fix meta-variable binding errors in macros | Julien Cretin | -1/+1 | |
| The errors are either: - The meta-variable used in the right-hand side is not bound (or defined) in the left-hand side. - The meta-variable used in the right-hand side does not repeat with the same kleene operator as its binder in the left-hand side. Either it does not repeat enough, or it uses a different operator somewhere. This change should have no semantic impact. | ||||
| 2019-06-18 | rustc: remove 'x: 'y bounds (except from comments/strings). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-12 | rustc_codegen_llvm: `deny(unused_lifetimes)`. | Eduard-Mihai Burtescu | -3/+1 | |
| 2019-06-12 | rustc: remove some unnecessary lifetimes in -> TyCtxt methods. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-12 | rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-12 | rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-11 | rustc_codegen_*: deny(unused_lifetimes). | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-06-03 | add support for unchecked math | lcnr/Bastian Kauschke | -0/+6 | |
| 2019-06-01 | rustc_codegen_llvm: replace `fn noname()` with `const UNNAMED`. | Eduard-Mihai Burtescu | -47/+51 | |
| 2019-06-01 | rustc_codegen_llvm: pretty up a few builder methods with a macro. | Eduard-Mihai Burtescu | -138/+34 | |
| 2019-05-29 | rustc_codegen_llvm: rename away the last occurrence of `insn`. | Eduard-Mihai Burtescu | -3/+3 | |
| 2019-05-29 | rustc_codegen_llvm: remove LLVM instruction count stats. | Eduard-Mihai Burtescu | -107/+0 | |
| 2019-05-14 | removes `AbiMethods` | Saleem Jaffer | -0/+7 | |
| 2019-05-04 | adding HasParamEnv trait | Saleem Jaffer | -0/+6 | |
| 2019-03-29 | Use ExactSizeIterator + TrustedLen instead of num_cases arg for switch | bjorn3 | -3/+3 | |
| 2019-03-29 | Add a method for emiting a switch. | bjorn3 | -8/+9 | |
| 2019-03-29 | Remove inline_asm_call from cg_ssa | bjorn3 | -41/+1 | |
| `count_insn` is no longer called for inline asm, because it is private to builder.rs | ||||
| 2019-03-29 | Remove type_variadic_func and typ_array from cg_ssa | bjorn3 | -21/+51 | |
| 2019-03-29 | Move get_param and set_value_name | bjorn3 | -21/+23 | |
| 2019-03-29 | Remove a lot of methods from BuilderMethods | bjorn3 | -213/+213 | |
| 2019-03-29 | Remove const_{cstr,str_slice,get_elt,get_real} and is_const_real methods ↵ | bjorn3 | -0/+31 | |
| from cg_ssa This introduces the static_panic_msg trait method to StaticBuilderMethods. | ||||
| 2019-03-29 | Misc | bjorn3 | -1/+1 | |
| 2019-03-29 | Add a comment | bjorn3 | -0/+1 | |
| 2019-03-29 | Use Builder instead of CodegenCx for OperandRef and LocalRef | bjorn3 | -1/+1 | |
| 2019-02-25 | librustc_codegen_llvm: deny(elided_lifetimes_in_paths) | Mazdak Farrokhzad | -1/+1 | |
| 2019-02-18 | librustc_codegen_llvm => 2018 | Taiki Endo | -9/+8 | |
