about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/common.rs
AgeCommit message (Collapse)AuthorLines
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