mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
Update to LLVM 23 Changes in this PR (apart from the LLVM update): * Updated cov-map tests due to minor ordering changes introduced in5931034653. The affected tests are limited to LLVM >= 23 now. * Set `LLVM_VERSIONED_DYLIB_NAME_ON_DARWIN=OFF`, which restores the previous unversioned naming of the LLVM dylib on Darwin. I expect we'll want to change this for consistency with Linux, but given the amount of trouble Darwin dylibs have caused in the past, I'm not trying to do it in this PR. * Distribute the llvm-project/libc subproject, which is now a build dependency of LLVM. * Pull in f128 Windows ABI changes from https://github.com/rust-lang/rust/pull/158778. These need to land in sync with the LLVM update (as ABI of libcalls is controlled by LLVM, not our ABI lowering). * Disable RISCV backend on dist-i686-mingw, because the build OOMs on a large generated file. This is a temporary measure until host tools are removed by https://github.com/rust-lang/compiler-team/issues/1020. * The llvm-project fork includes a new downstream patch for mingw:b89cd8e625It works around mingw having broken TLS prior to GCC 16. (We're currently on GCC 14.) Issues: * [x] https://github.com/llvm/llvm-project/issues/209512 * [x] https://github.com/llvm/llvm-project/issues/209714 * [x] https://github.com/llvm/llvm-project/issues/209718 * [x] https://github.com/rust-lang/stdarch/issues/2190 (synced in https://github.com/rust-lang/rust/pull/159517) * [x] https://github.com/llvm/llvm-project/pull/210025 * [x] https://github.com/rust-lang/rust/pull/159391 * [x] https://github.com/EnzymeAD/Enzyme/pull/2951 * [x] https://github.com/rust-lang/rust/pull/159301 * [x] https://github.com/llvm/llvm-project/issues/210300