about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/common.rs
AgeCommit message (Collapse)AuthorLines
2025-07-23Remove useless lifetime parameter.Camille GILLOT-1/+1
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-1/+1
2025-05-28get rid of rustc_codegen_ssa::common::AtomicOrderingRalf Jung-9/+0
2025-05-09remove 'unordered' atomic intrinsicsRalf Jung-1/+0
2024-09-24Test fixing raw-dylibDaniel Paoliello-3/+6
2024-09-17Clean up formatting.Nicholas Nethercote-1/+2
Reflow overly long comments, plus some minor whitespace improvements.
2024-09-17Minimize visibilities.Nicholas Nethercote-2/+2
This makes it much clearer which things are used outside the crate.
2024-08-07Rollup merge of #128206 - bjorn3:import_lib_writing_refactor, r=jieyouxuGuillaume Gomez-0/+65
Make create_dll_import_lib easier to implement This will make it easier to implement raw-dylib support in cg_clif and cg_gcc. This PR doesn't yet include an create_dll_import_lib implementation for cg_clif as I need to correctly implement dllimport in cg_clif first before raw-dylib can work at all with cg_clif. Required for https://github.com/rust-lang/rustc_codegen_cranelift/issues/1345
2024-08-04Add `Debug` impls to API types in `rustc_codegen_ssa`Mahmoud Mazouz-5/+5
2024-07-30Move is_mingw_gnu_toolchain and i686_decorated_name to cg_ssabjorn3-0/+65
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+5
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-25LLVM: LLVM-20.0 removes MMX typesMatthew Maurer-1/+0
See llvm/llvm-project#98505
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-1/+1
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-03-30De-LLVM the unchecked shifts [MCP#693]Scott McMurray-40/+1
This is just one part of the MCP, but it's the one that IMHO removes the most noise from the standard library code. Seems net simpler this way, since MIR already supported heterogeneous shifts anyway, and thus it's not more work for backends than before.
2024-03-16Handle calls to upstream monomorphizations in compiler_builtinsBen Kimock-2/+3
2024-03-09Sink ptrtoint for RMW ops on pointers to cg_llvmBen Kimock-1/+1
2023-09-19move ConstValue into mirRalf Jung-3/+3
this way we have mir::ConstValue and ty::ValTree as reasonably parallel
2023-06-19Promote unchecked_add/sub/mul/shl/shr to mir::BinOpScott McMurray-2/+2
2022-12-27DELETE - fn span_invalid_monomorphization_error and localize intrinsics macrosJhonny Bill Mena-6/+0
2022-10-25Simplify `cast_shift_expr_rhs`.Nicholas Nethercote-3/+2
It's only ever used with shift operators.
2022-05-25rustc_codegen_ssa: derive copy and clone for various enumsTomasz Miąsko-0/+5
2022-05-25rustc_codegen_ssa: cleanup `AtomicOrdering`Tomasz Miąsko-3/+1
* Remove unused `NotAtomic` ordering. * Rename `Monotonic` to `Relaxed` - a Rust specific name.
2022-04-28use tcx.require_lang_item() insteadSparrowLii-8/+1
2022-04-27Eliminate duplication of building panic langcall in codegenSparrowLii-5/+11
2022-02-19Adopt let else in more placesest31-5/+2
2021-12-09Remove redundant [..]sest31-2/+2
2021-05-14Remove support for floating-point constants in asm!Amanieu d'Antras-2/+0
Floating-point constants aren't very useful anyways and this simplifies the code since the type check can now be done in typeck.
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-1/+31
On x86, the default syntax is also switched to Intel to match asm!
2021-02-28Support LLVM 12 in rustcNikita Popov-0/+1
2020-09-26Remove unused #[allow(...)] statements from compiler/est31-3/+1
2020-08-30mv compiler to compiler/mark-0/+197