bjorn3
e472b5573a
Merge commit 'c07d1e2f88cb3b1a0604ae8f18b478c1aeb7a7fa' into sync_cg_clif-2023-10-21
2023-10-21 19:54:51 +00:00
bjorn3
c07d1e2f88
Use same --remap-path-prefix as bootstrap for testing the rustc test suite
...
This allows removing the CFG_VIRTUAL_RUST_SOURCE_BASE_DIR hack and
re-enabling a fair amount of tests.
2023-10-21 19:01:08 +00:00
bjorn3
62f6e84ac1
Merge pull request #1398 from bjorn3/riscv_support
...
Add riscv64 linux support
2023-10-21 20:16:33 +02:00
bjorn3
1848d25a83
Add shim for core::hint::spin_loop() on riscv64
2023-10-21 17:37:45 +00:00
bjorn3
78cd77f1f1
Give better error for unsupported asm!()
2023-10-21 16:47:14 +00:00
bjorn3
eb30083b69
Fix epilogue_noreturn for AArch64
2023-10-21 16:47:14 +00:00
bjorn3
55cc776731
Introduce asm_supported() helper
2023-10-21 16:47:14 +00:00
bjorn3
46388c1702
Re-enable all inline asm usage for the rustc tests
2023-10-21 16:46:45 +00:00
bjorn3
453ce49a6f
Support inline asm on riscv64
2023-10-21 16:46:24 +00:00
bjorn3
04a3850317
Run tests for riscv64
2023-10-21 16:46:24 +00:00
bjorn3
2f74b68617
Rustup to rustc 1.75.0-nightly ( 249624b50
2023-10-20)
2023-10-21 11:30:57 +00:00
bjorn3
f414e265a7
Sync from rust 249624b504
2023-10-21 11:26:32 +00:00
Oli Scherer
4519e68957
s/generator/coroutine/
2023-10-20 21:14:01 +00:00
Oli Scherer
8e264ab07a
s/Generator/Coroutine/
2023-10-20 21:10:38 +00:00
bjorn3
14e66dbf5d
Update Cranelift to 0.101.0
2023-10-20 18:11:56 +00:00
bjorn3
49987faf87
Fix rustc test suite
2023-10-19 13:20:25 +00:00
bjorn3
b972010887
Fix CG_CLIF_DISABLE_INCR_CACHE
2023-10-19 12:44:27 +00:00
bjorn3
bdc597d512
Rustup to rustc 1.75.0-nightly ( 0039d739d
2023-10-18)
2023-10-19 12:39:49 +00:00
bjorn3
5f2d3ac041
Sync from rust 0039d739d4
2023-10-19 12:18:00 +00:00
Urgau
2f461b74ff
[RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopes
2023-10-17 10:11:30 +02:00
Michael Howell
8c3eda36df
docs: add Rust logo to more compiler crates
...
c6e6ecb1af
added it to some of the
compiler's crates, but avoided adding it to all of them to reduce
bit-rot. This commit adds to more.
2023-10-16 15:38:08 -07:00
bjorn3
ba0f7e3534
Install binutils on FreeBSD CI to get an assembler
2023-10-15 12:05:05 +00:00
bjorn3
ca53d2e8bb
Change producer string to have the rustc producer string as prefix
...
This fixes the comment-section run-make test
2023-10-14 13:46:55 +00:00
bjorn3
5a9b81a91e
Re-enable a bunch of fixed rustc tests
2023-10-14 13:37:03 +00:00
bjorn3
4a24eccfba
Remove no longer necessary rand patch
...
These tests got fixed fixed at some point.
2023-10-14 13:09:06 +00:00
bjorn3
62bf33a9c6
Ensure we don't overwrite an existing Cargo.lock when fetching an external git repo
2023-10-14 12:41:44 +00:00
bjorn3
f06831441b
Remove portable-simd custom lock file
...
portable-simd has a Cargo.lock already checked in now.
2023-10-14 12:38:18 +00:00
bjorn3
abc9f0d6fb
Update rand test
...
This allows removing a patch for a test that requires unwinding support
2023-10-14 12:29:13 +00:00
Eduardo Sánchez Muñoz
40cc89137b
Remove from cranelift codegen LLVM intrinsics that are no longer needed
2023-10-12 11:20:00 +02:00
bjorn3
3c0d3f2bf1
Fix review comments
2023-10-09 18:39:43 +00:00
bjorn3
e006e2c9c6
Remove cgu_reuse_tracker from Session
...
This removes a bit of global mutable state
2023-10-09 18:39:41 +00:00
bjorn3
ed2f5baba6
Reuse determine_cgu_reuse from cg_ssa in cg_clif
2023-10-09 18:38:50 +00:00
bjorn3
269917bc77
Merge branch 'sync_from_rust'
2023-10-09 08:58:24 +00:00
bjorn3
5d85a24442
Merge commit '81dc066758ec150b43822d4a0c84aae20fe10f40' into sync_cg_clif-2023-10-09
2023-10-09 08:52:46 +00:00
bjorn3
81dc066758
Rustup to rustc 1.75.0-nightly ( bf9a1c8a1
2023-10-08)
2023-10-09 08:33:47 +00:00
bjorn3
88198c70e4
Sync from rust bf9a1c8a19
2023-10-09 08:26:09 +00:00
bjorn3
cc5db2c1c8
Merge pull request #1397 from bjorn3/inline_asm_tweaks
...
Test inline asm support on CI
2023-10-08 13:21:53 +02:00
bjorn3
2672876b63
Run inline asm rustc tests on CI
2023-10-08 09:50:20 +00:00
bjorn3
91e5bd87e6
Skip cpuid shim when inline asm support is enabled
...
cg_clif should support enough simd intrinsics now to not need almost all
cpu features to be force disabled. In addition they can't be disabled
anyway when using a sysroot compiled by LLVM.
2023-10-08 09:50:20 +00:00
bjorn3
07147f34d0
Fix inline asm on macOS
2023-10-08 09:50:20 +00:00
bjorn3
81093441c1
Rustup to rustc 1.75.0-nightly ( 97c81e1b5
2023-10-07)
2023-10-08 09:30:32 +00:00
bjorn3
1906ec56fc
Sync from rust 97c81e1b53
2023-10-08 09:22:39 +00:00
bors
fea943debf
Auto merge of #116487 - tamird:avoid-unwrap-absolute, r=bjorn3
...
compiler: env/path handling fixes
Please see individual commits. r? `@bjorn3` cf. #116426
2023-10-08 05:24:16 +00:00
bjorn3
e759603da1
Consistently use eprintln inside the build system
2023-10-07 11:10:30 +00:00
Jubilee
c9f6ac45d9
Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk
...
dont call mir.post_mono_checks in codegen
It seems like all tests are still passing when I remove this... let's see what CI says.
2023-10-06 16:37:46 -07:00
Tamir Duberstein
2753052adf
compiler: always use var_os("RUST_BACKTRACE")
...
There are 3 instances of var(...) and 3 instances of var_os(...); the
latter avoids an appearance of unhandled error, so use it everywhere.
2023-10-06 08:53:23 -04:00
bjorn3
e825497b7d
Merge pull request #1396 from bjorn3/aarch64_asm
...
Support inline asm on AArch64
2023-10-05 21:47:15 +02:00
bjorn3
4577c1dc05
Temporarily remove riscv64 inline asm support
...
Riscv support is not currently being tested so it is likely broken.
Removing it may avoid confusion in the future.
2023-10-05 19:23:40 +00:00
bjorn3
b1421dea1d
Support inline asm on AArch64
...
Also stop changing the frame pointer on x86_64. This confuses unwinders.
2023-10-05 19:06:08 +00:00
bjorn3
a47b9fd2e6
Remove stub support for 32bit inline assembly
...
Cranelift doesn't support any 32bit target yet and this helps with
keeping everything in sync.
2023-10-05 18:55:18 +00:00