bjorn3
f449c0d175
Remove profile overrides for build scripts and their dependencies
...
Cargo now disables optimizations for build scripts by default anyway, so
they aren't really useful anymore.
2022-04-30 14:09:03 +02:00
bjorn3
882c3900db
Update object for the nightly Cranelift check
2022-04-30 13:44:18 +02:00
bjorn3
b84daf82eb
Update actions/checkout to v3
2022-04-30 13:40:16 +02:00
bjorn3
9152ded3bf
Merge pull request #1225 from bjorn3/build_system_rework
...
Use -Zcodegen-backend instead of a custom rustc driver
2022-04-30 13:34:40 +02:00
bjorn3
88d058fef3
Don't unnecessarily copy rustc_std_workspace_std into the sysroot
2022-04-29 19:47:43 +02:00
bjorn3
2e65a8f2ca
Use -Zcodegen-backend instead of a rustc replacement in cargo-clif
2022-04-29 19:13:41 +02:00
bjorn3
617171e930
Remove cg_clif_build_sysroot
2022-04-29 19:07:32 +02:00
bjorn3
377f44d38c
Inline ext_config.sh
2022-04-29 19:07:29 +02:00
bjorn3
944a48d3af
Remove less of the sysroot build dir on recompilation
2022-04-27 17:31:07 +02:00
bjorn3
88b5f5722a
Use jit_builder.symbol instead of #[no_mangle] for __clif_jit_fn
...
#[no_mangle] doesn't resolve when the codegen backend is opened with RTLD_LOCAL
2022-04-27 17:30:46 +02:00
bjorn3
5e0c62372c
Minor changes to tests.sh
2022-04-27 16:54:35 +02:00
bjorn3
f429b4093f
Fix running the rustc test suite
2022-04-27 14:09:41 +02:00
bjorn3
7e45747a3d
Rustup to rustc 1.62.0-nightly ( 082e4ca49
2022-04-26)
2022-04-27 12:32:20 +02:00
bjorn3
ea3bbf0451
Merge branch 'sync_from_rust'
2022-04-22 21:12:23 +02:00
bjorn3
32202f20cd
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
2022-04-22 21:11:38 +02:00
bjorn3
f2cdd4a78d
Rustup to rustc 1.62.0-nightly ( 879aff385
2022-04-20)
2022-04-21 20:54:50 +02:00
bjorn3
acb32e6eb5
Sync from rust 1dec35a1b0
2022-04-21 20:23:21 +02:00
bjorn3
a177a7f9df
Update Cranelift to 0.83.0
2022-04-21 19:22:12 +02:00
bjorn3
89c67a87bc
Remove option to select regalloc algorithm
...
The main branch of Cranelift has switched to a new register allocator.
This register allocator doesn't have any alternative regalloc algorithms
unlike the old register allocator.
2022-04-17 19:41:28 +02:00
MikaelUrankar
83d470d91c
Don't assume /bin/bash is available on every system. ( #1223 )
...
Co-authored-by: MikaelUrankar <mikael.urankar@gmail.com>
2022-04-14 14:18:13 +02:00
Jakob Degen
a923e9211a
Add new Deinit
statement kind
2022-04-11 08:55:03 -04:00
klensy
f2d2ec3e93
check_doc_keyword: don't alloc string for emptiness check
...
check_doc_alias_value: get argument as Symbol to prevent needless string convertions
check_doc_attrs: don't alloc vec, iterate over slice. Vec introduced in #83149 , but no perf run posted on merge
replace as_str() check with symbol check
get_single_str_from_tts: don't prealloc string
trivial string to str replace
LifetimeScopeForPath::NonElided use Vec<Symbol> instead of Vec<String>
AssertModuleSource use BTreeSet<Symbol> instead of BTreeSet<String>
CrateInfo.crate_name replace FxHashMap<CrateNum, String> with FxHashMap<CrateNum, Symbol>
2022-04-08 11:45:57 +03:00
Oli Scherer
2efede7749
Mark scalar layout unions so that backends that do not support partially initialized scalars can special case them.
2022-04-05 13:18:21 +00:00
bjorn3
557a09f6b5
Ignore broken rustc test
2022-04-05 12:46:56 +02:00
bjorn3
b87d7834c0
Rustup to rustc 1.62.0-nightly ( 60e50fc1c
2022-04-04)
2022-04-05 11:44:41 +02:00
bjorn3
bc62bd55bd
Sync from rust 949b98cab8
2022-04-05 11:31:42 +02:00
Loïc BRANSTETT
69046fa8fd
Cleanup after some refactoring in rustc_target
2022-04-03 21:29:57 +02:00
Yuri Astrakhan
7665d87638
Addressed comments by @compiler-errors and @bjorn3
2022-03-30 17:04:46 -04:00
Yuri Astrakhan
421baaff3f
Spellchecking compiler comments
...
This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
2022-03-30 15:14:15 -04:00
Dylan DPC
804cae3f9b
Rollup merge of #95461 - nyurik:spelling, r=lcnr
...
Spellchecking some comments
This PR attempts to clean up some minor spelling mistakes in comments
2022-03-30 09:10:07 +02:00
Yuri Astrakhan
ae2f203e24
Spellchecking compiler code
...
Address some spelling mistakes in strings, private function names, and function params.
2022-03-30 01:42:10 -04:00
Yuri Astrakhan
93aedb67df
Spellchecking some comments
...
This PR attempts to clean up some minor spelling mistakes in comments
2022-03-30 01:39:38 -04:00
bjorn3
11007c02f7
Use fma(f) libm function for simd_fma intrinsic
2022-03-25 20:42:58 +01:00
bjorn3
3c030e2425
Fix NaN handling of simd float min and max operations
2022-03-25 20:25:11 +01:00
bjorn3
f3d97cce27
Fix saturating float casts test
...
Fixes #737
2022-03-25 19:32:14 +01:00
bjorn3
e336e1bccf
Rustup to rustc 1.61.0-nightly ( 63b8f01bb
2022-03-24)
2022-03-25 17:28:39 +01:00
bjorn3
90999c4e9f
Sync from rust 903427b2e8
2022-03-25 17:19:19 +01:00
bjorn3
cf1149fb38
Update list of ignored rustc tests
2022-03-22 12:35:49 +01:00
bjorn3
998fef8119
Rustup to rustc 1.61.0-nightly ( 3c17c84a3
2022-03-21)
2022-03-22 12:02:50 +01:00
bjorn3
1bd90f8644
Don't declare test_variadic_fnptr with two conflicting signatures
...
It is UB for LLVM and results in a compile error for Cranelift
2022-03-20 21:09:35 +01:00
bjorn3
26972c944b
Merge branch 'sync_from_rust'
2022-03-20 16:56:00 +01:00
bjorn3
d1904e5855
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
2022-03-20 16:55:21 +01:00
bjorn3
370c397ec9
Run part of the simd test suite
2022-03-20 12:14:24 +01:00
bjorn3
636fb020c4
Ignore rustc tests with needs-unwind directive
2022-03-20 12:14:24 +01:00
bjorn3
e7e5016207
Move test and clarify problem of some other tests
2022-03-20 12:14:24 +01:00
bjorn3
215905cdc8
Wrap write_mir_fn call in with_no_trimmed_paths!()
2022-03-20 12:14:05 +01:00
bjorn3
8afa50c482
Rustup to rustc 1.61.0-nightly ( 1bfe40d11
2022-03-18)
2022-03-19 13:36:25 +01:00
bjorn3
670ee7ec28
Sync from rust 3153584170
2022-03-19 13:28:22 +01:00
bjorn3
ef4512b7dc
Codegen 128bit atomic loads and stores for compiler builtins as trap
...
128bit atomics are unstable and only enabled on AArch64 and x86_64 macOS.
Cranelift doesn't support 128bit atomics yet.
2022-03-19 12:56:03 +01:00
bjorn3
31329f9841
Enable rand based libcore tests
...
Part of #806
2022-03-18 21:19:37 +01:00