Commit Graph

4445 Commits

Author SHA1 Message Date
bjorn3
9a48c44a27 Remove pulley-interpreter dependency 2024-10-03 09:01:42 +00:00
bjorn3
743a2e47ac Update to Cranelift 0.112.0 2024-10-03 09:01:40 +00:00
bjorn3
764f1ba5cd Fix running rustc tests 2024-09-26 16:54:35 +00:00
bjorn3
eccda69544 Rustup to rustc 1.83.0-nightly (9e394f551 2024-09-25) 2024-09-26 16:41:40 +00:00
bjorn3
39440c53dc Sync from rust 9e394f551c 2024-09-26 16:36:04 +00:00
Michael Goulet
6fdc133daa Add a debug assertion in codegen that unsize casts of the same principal trait def id are truly NOPs 2024-09-25 11:13:59 -04:00
Lukas Markeffsky
25b66d8091 be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02:00
Lukas Markeffsky
1efad22339 unify dyn* coercions with other pointer coercions 2024-09-24 22:17:55 +02:00
Michael Goulet
631ab21ff0 Check vtable projections for validity in miri 2024-09-23 19:38:26 -04:00
bjorn3
3a3a6347bb Merge branch 'sync_from_rust' 2024-09-23 11:32:18 +00:00
bjorn3
9d8572d33b Rustfmt 2024-09-23 11:28:15 +00:00
bjorn3
f3ae4237ab Revert change to apply_patches to fix panic 2024-09-23 11:20:56 +00:00
bjorn3
32b608a439 Merge commit '6d35b4c9a04580366fd800692a5b5db79d766530' into sync_cg_clif-2024-09-22 2024-09-23 11:20:46 +00:00
bjorn3
6d35b4c9a0 Rustup to rustc 1.83.0-nightly (6c6d21008 2024-09-22) 2024-09-23 11:11:08 +00:00
bjorn3
faeede3881 Merge branch 'sync_from_rust' 2024-09-23 11:04:43 +00:00
Michael Goulet
02b0f3b5ab Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
bjorn3
ab7777f982 Fix rustc test suite 2024-09-22 18:10:08 +00:00
bjorn3
27b21af624 Rustup to rustc 1.83.0-nightly (1d68e6dd1 2024-09-21) 2024-09-22 17:35:29 +00:00
bjorn3
1d53572570 Sync from rust 1d68e6dd1d 2024-09-22 17:14:10 +00:00
nora
f5686e3cc9
Write return value for ptr_mask intrinsic (#1536)
This was forgotten. Without it, ptr_mask just always returns null.
2024-09-22 15:46:44 +02:00
Folkert de Vries
90300ef40b add C-cmse-nonsecure-entry ABI 2024-09-21 13:04:14 +02:00
Michael Goulet
460abead20 Do not unnecessarily eval consts in codegen 2024-09-20 20:38:11 -04:00
Turki Al-Marri
753271ce7e
aarch64 neon intrinsics: vmaxq_f32, vminq_f32, vaddvq_f32, vrndnq_f32 (#1533) 2024-09-19 18:11:24 +02:00
Nicholas Nethercote
37204ee563 Use associative type defaults in {Layout,FnAbi}OfHelpers.
This avoids some repetitive boilerplate code.
2024-09-17 10:25:06 +10:00
bjorn3
5349365566 Use unconditional download-ci-llvm in setup_rust_fork.sh
For whatever reason someone decided to make the default if-changed
always checkout the llvm-project submodule, which takes a while.
2024-09-15 17:40:12 +00:00
bjorn3
eee42f2679 Fix rustc test suite 2024-09-15 17:34:45 +00:00
bjorn3
16cee899d1 Avoid mir_operand_get_const_val hack for simd_insert and simd_extract 2024-09-15 17:27:12 +00:00
bjorn3
1e960213e8 Add test for _mm_cmpestri 2024-09-15 17:24:43 +00:00
bjorn3
cebdfe40ad Slightly simplify the simd_shuffle impl 2024-09-15 17:07:29 +00:00
bjorn3
c7b49987a6 Fix rustc test suite 2024-09-15 16:59:35 +00:00
bjorn3
61d3b59f58 Rustup to rustc 1.83.0-nightly (9b72238eb 2024-09-14) 2024-09-15 16:49:17 +00:00
bjorn3
ab989ac7cb Sync from rust 9b72238eb8 2024-09-15 16:43:21 +00:00
bjorn3
6fbe4d90b8 Rename remove_dir_if_exists to ensure_empty_dir and create the dir in this function
This avoids removing the directory, which may conflict with sandbox
systems like Landlock.
2024-09-14 17:34:24 +00:00
Ralf Jung
15848f3f08 simd_shuffle: require index argument to be a vector 2024-09-14 14:43:24 +02:00
bjorn3
b7272c236a Remove unnecessary -Zunstable-options 2024-09-13 16:45:11 +00:00
bjorn3
41f6d55398 Refactor command runner handling 2024-09-13 16:38:05 +00:00
bjorn3
652b00430d Remove unnecessary special case 2024-09-13 15:30:56 +00:00
bjorn3
d5e2e23f48 Misc cleanups 2024-09-13 15:17:22 +00:00
bjorn3
bc67321c6d Reduce usage of RelPath in build_sysroot 2024-09-13 14:45:29 +00:00
bjorn3
f204181112 Install git-tiny on Cirrus CI
This avoids pulling in perl.
2024-09-12 19:55:06 +00:00
bjorn3
4e38767320 Use plain sh for y.sh, test.sh and clean_all.sh
FreeBSD by default doesn't install bash.
2024-09-12 19:55:06 +00:00
bjorn3
1aa0cf930a Unconditionally use git to download test repos
It no longer saves much download time while still complicating the code
and requiring curl and tar to be installed.
2024-09-12 19:29:43 +00:00
bjorn3
45be990167 Inline prepare_stdlib into the sysroot build code
Also reduce visibility of a couple of statics
2024-09-12 19:04:11 +00:00
bjorn3
ade0e38b5e Fix building rustc and the rustc test suite 2024-09-11 19:41:00 +00:00
bjorn3
dcae9acda0 Rustup to rustc 1.83.0-nightly (0ee7cb5e3 2024-09-10) 2024-09-11 19:31:20 +00:00
bjorn3
17bcb2ff46 Sync from rust 0ee7cb5e36 2024-09-11 19:13:40 +00:00
bjorn3
b4d55a8799 Add missing dbghelp link directive for windows 2024-09-11 17:38:03 +00:00
Scott McMurray
fe5183e627 Fix the examples in cg_clif 2024-09-09 19:39:43 -07:00
bors
cf7c0554f1 Auto merge of #128939 - bjorn3:windows_cg_clif_component, r=albertlarsan68
Distribute rustc_codegen_cranelift for Windows

With support for raw-dylib recently added to cg_clif, and inline assembly support working on Windows for quite a while now, all blockers for distributing cg_clif on Windows that I mentioned in https://github.com/rust-lang/rust/pull/81746#issuecomment-1774099637 are fixed now.
2024-09-09 16:09:06 +00:00
bjorn3
b7ed9ad226 Remove test exclusion for fixed rustc test 2024-09-03 11:08:17 +00:00