about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back
AgeCommit message (Expand)AuthorLines
2025-03-01Auto merge of #133250 - DianQK:embed-bitcode-pgo, r=nikicbors-55/+98
2025-02-28Rollup merge of #137017 - bjorn3:ignore_invalid_bitcode, r=oli-obk许杰友 Jieyou Xu (Joe)-3/+22
2025-02-26Restore usage of io::Errorbjorn3-4/+7
2025-02-24codegen_llvm: avoid `Deref` impls w/ extern typeDavid Wood-11/+12
2025-02-23Save pre-link bitcode to `ModuleCodegen`DianQK-15/+10
2025-02-23Add `new_regular` and `new_allocator` to `ModuleCodegen`DianQK-10/+3
2025-02-23The embedded bitcode should always be prepared for LTO/ThinLTODianQK-44/+99
2025-02-21update autodiff flagsManuel Drehwald-23/+62
2025-02-21clean up autodiff code/commentsManuel Drehwald-10/+5
2025-02-20Merge two operations that were always performed togetherOli Scherer-1/+1
2025-02-14Don't error when adding a staticlib with bitcode files compiled by newer LLVMbjorn3-6/+22
2025-02-13Make `-O` mean `-C opt-level=3`clubby789-2/+2
2025-02-12Rollup merge of #135549 - oli-obk:push-tmxtpnrloyqu, r=compiler-errorsMatthias Krüger-131/+92
2025-02-11Document some safety constraints and use more safe wrappersOli Scherer-43/+32
2025-02-11Add a safe wrapper for `WriteBitcodeToFile`Oli Scherer-8/+10
2025-02-11Remove an unsafe closure invariant by inlining the closure wrapper into the c...Oli Scherer-80/+50
2025-02-11Rollup merge of #136721 - dpaoliello:cleanllvm2, r=ZalatharJacob Pratt-3/+3
2025-02-10rustc_codegen_llvm: Mark items as pub(crate) outside of the llvm moduleDaniel Paoliello-3/+3
2025-02-10move second opt run to lto phase and cleanup codeManuel Drehwald-18/+48
2025-02-07fix non-enzyme buildsManuel Drehwald-1/+3
2025-01-22rustc_codegen_llvm: remove outdated asm-to-obj codegen noteKen Matsui-6/+3
2025-01-13Rollup merge of #133752 - klensy:cp, r=davidtwcoMatthias Krüger-7/+3
2025-01-07llvm: Ignore error value that is always falseMatthew Maurer-5/+1
2025-01-01upstream rustc_codegen_llvm changes for enzyme/autodiffManuel Drehwald-7/+55
2024-12-30add llvm_floatabi field to target spec that controls FloatABITypeRalf Jung-4/+12
2024-12-30rustc_llvm: expose FloatABIType target machine parameterRalf Jung-7/+7
2024-12-29make -Csoft-float have an effect on all ARM targetsRalf Jung-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-12Auto merge of #129181 - beetrees:asm-spans, r=pnkfelix,compiler-errorsbors-6/+17
2024-12-02Use c"lit" for CStrings without unwrapKornel-2/+2
2024-12-02replace copypasted ModuleLlvm::parseklensy-7/+3
2024-11-26Respect verify-llvm-ir option in the backendNikita Popov-0/+4
2024-11-26Pass end position of span through inline ASM cookiebeetrees-6/+17
2024-11-24embed-bitcode is no longer used in iOSDianQK-18/+1
2024-11-03Reduce dependence on the target namebjorn3-20/+9
2024-11-02Rename target triple to target tuple in many places in the compilerNoratrieb-3/+3
2024-11-02Rollup merge of #131037 - madsmtm:move-llvm-target-versioning, r=petrochenkovMatthias Krüger-1/+2
2024-11-01Move versioned LLVM target creation to rustc_codegen_ssaMads Marquart-1/+2
2024-10-31Remove support for `-Zprofile` (gcov-style coverage instrumentation)Zalathar-1/+0
2024-10-30Consistently use safe wrapper function `set_section`Zalathar-10/+9
2024-10-29Rollup merge of #132319 - Zalathar:add-module-flag, r=jieyouxuMatthias Krüger-18/+3
2024-10-29Don't set unnecessary module flag "LTOPostLink"Zalathar-18/+3
2024-10-29Rollup merge of #132216 - klensy:c_uint, r=cuviperJubilee-2/+2
2024-10-29Rollup merge of #131375 - klensy:clone_on_ref_ptr, r=cjgillotJubilee-1/+1
2024-10-29correct LLVMRustCreateThinLTOData arg typesklensy-2/+2
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-1/+1
2024-10-28Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`Zalathar-6/+8
2024-10-26Use safe wrappers `get_linkage` and `set_linkage`Zalathar-4/+4
2024-09-26Use `&raw` in the compilerJosh Stone-1/+1
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-4/+3