Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync rustc_codegen_cranelift #92131

Merged
merged 105 commits into from
Dec 21, 2021
Merged
Changes from 1 commit
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
1b8e830
ty::layout: intern `FnAbi`s as `&'tcx`.
eddyb Aug 26, 2021
849b4c4
ty::layout: replicate `layout_of` setup for `fn_abi_of_{fn_ptr,instan…
eddyb Sep 1, 2021
e857fab
Querify `fn_abi_of_{fn_ptr,instance}`.
eddyb Sep 1, 2021
5d3b8e7
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_…
bjorn3 Sep 19, 2021
5599473
Merge branch 'sync_from_rust'
bjorn3 Sep 19, 2021
29e0897
Adjust to SourceType::InTree in several places
Mark-Simulacrum Sep 19, 2021
208fc42
Migrate to 2021
Mark-Simulacrum Sep 19, 2021
1b34e2d
Introduce `Rvalue::ShallowInitBox`
nbdd0121 Sep 6, 2021
500e22e
Auto merge of #89092 - bjorn3:sync_cg_clif-2021-09-19, r=bjorn3
bors Sep 26, 2021
89fedb1
Sync from rust 04006d8e3b5043131ec56a5f3605b1edcb33194d
bjorn3 Sep 27, 2021
9e48f99
Rustup to rustc 1.57.0-nightly (05044c2e6 2021-09-26)
bjorn3 Sep 27, 2021
adc2793
Fix unused import warning
bjorn3 Sep 27, 2021
166ff13
Update Cranelift
bjorn3 Sep 30, 2021
bc61fb2
Update dependencies
bjorn3 Sep 30, 2021
745dee9
Move encode_metadata out of CrateStore.
cjgillot Nov 14, 2020
04f3839
Move EncodedMetadata to rustc_metadata.
cjgillot Sep 24, 2021
881208f
Update compiler/rustc_codegen_cranelift/scripts/filter_profile.rs
cjgillot Sep 28, 2021
eded369
Update Cranelift
bjorn3 Oct 1, 2021
d76afa7
Sync from rust a8387aef8c378a771686878062e544af4d5e2245
bjorn3 Oct 2, 2021
0887a2e
Rustup to rustc 1.57.0-nightly (c02371c44 2021-10-01)
bjorn3 Oct 2, 2021
dbeafcc
Rustfmt
bjorn3 Oct 2, 2021
03c02be
Move rustc_middle::middle::cstore to rustc_session.
cjgillot Nov 14, 2020
095064b
Turn tcx.vtable_allocation() into a query.
michaelwoerister Oct 7, 2021
2228c49
Auto merge of #89619 - michaelwoerister:incr-vtables, r=nagisa
bors Oct 8, 2021
376dd76
Sync from rust bb918d0a5bf22211df0423f7474e4e4056978007
bjorn3 Oct 9, 2021
d195107
Rustup to rustc 1.57.0-nightly (54bb4fec6 2021-10-08)
bjorn3 Oct 9, 2021
0134088
Add const_eval_select intrinsic
fee1-dead Oct 12, 2021
b2fed29
Update Cranelift
bjorn3 Oct 12, 2021
2bb3f76
Update Cranelift
bjorn3 Oct 13, 2021
44cce7a
Remove alloc::prelude
Amanieu Oct 14, 2021
1e5569d
Re-enable incremental compilation for the sysroot
bjorn3 Oct 17, 2021
3aae6fb
Disable a failing test
bjorn3 Oct 17, 2021
8ed0d0d
Remove unnecessary Lazy
bjorn3 Oct 17, 2021
7879119
Make hash_result an Option.
cjgillot Oct 16, 2021
adabc2c
Update Cranelift and object
bjorn3 Oct 21, 2021
1ceda5b
Remove unncesessary TryFrom and TryInto impls
bjorn3 Oct 21, 2021
bf907a3
Sync from rust 47aeac648ed56095688c1c20972c9b72bd0da7ce
bjorn3 Oct 27, 2021
fc8fbf4
Rustup to rustc 1.58.0-nightly (e269e6bf4 2021-10-26)
bjorn3 Oct 27, 2021
0bd4706
Disable rustc test requiring rustdoc
bjorn3 Oct 27, 2021
7ee7841
Revert libc update
bjorn3 Oct 27, 2021
977e884
Use crates.io releases of Cranelift
bjorn3 Oct 29, 2021
da83c84
Rustup to rustc 1.58.0-nightly (d914f17ca 2021-11-16)
bjorn3 Nov 17, 2021
a8be7ea
Implement new simd_shuffle signature
bjorn3 Nov 18, 2021
d288c69
Implement simd_reduce_{min,max} for floats
bjorn3 Nov 18, 2021
fd87c6d
Update to latest portable-simd version
bjorn3 Nov 18, 2021
042eb37
Implement register allocation for inline assembly
nbdd0121 Nov 22, 2021
f16d27a
Remove expect_reg
nbdd0121 Nov 22, 2021
894468a
Move stack slot allocation to a new fn
nbdd0121 Nov 22, 2021
703027f
Code cleanup as a follow up to the previous commit
nbdd0121 Nov 22, 2021
14aa039
Skip registers saved by calling convention
nbdd0121 Nov 22, 2021
fe3ba31
Overlap input and output stack slots
nbdd0121 Nov 22, 2021
eaf88c5
Skeleton for multiple arch support
nbdd0121 Nov 22, 2021
cfdf10b
x86 inline asm support
nbdd0121 Nov 22, 2021
31e7fa5
Dispatch inline asm to the correct arch
nbdd0121 Nov 22, 2021
f9534a9
Add RISC-V inline asm support
nbdd0121 Nov 22, 2021
5f0c6e5
Fix allocated reg in AT&T style asm
nbdd0121 Nov 22, 2021
a49c6b8
Merge pull request #1206 from nbdd0121/master
bjorn3 Nov 22, 2021
dfbc7eb
Version the prebuilt libstd again
bjorn3 Nov 23, 2021
1222192
Use cgu name instead of function name as base for inline asm wrapper …
bjorn3 Nov 24, 2021
8714be0
Include NOTYPE symbols in the archive symbol table
bjorn3 Nov 24, 2021
efdbd88
Ensure inline asm wrapper name never starts with a digit
bjorn3 Nov 25, 2021
c6c2f45
Enable unstable-features feature of cg_clif for rust-analyzer
bjorn3 Nov 26, 2021
7b89409
Rustup to rustc 1.58.0-nightly (dd549dcab 2021-11-25)
bjorn3 Nov 26, 2021
c989324
Fix warning
bjorn3 Nov 26, 2021
a65a523
Fix rustc tests
bjorn3 Nov 26, 2021
948d024
fix sparc64 ABI for aggregates with floating point members
psumbera Dec 1, 2021
23bcafa
Update object
bjorn3 Dec 1, 2021
5f5a2f2
Update dependencies
bjorn3 Dec 1, 2021
39cd136
Enable artifact uploads for windows builds
bjorn3 Dec 2, 2021
516b478
Rustup to rustc 1.59.0-nightly (48a5999fc 2021-12-01)
bjorn3 Dec 2, 2021
dd288d2
Fix vector types containing an array field with mir opts enabled
bjorn3 Dec 3, 2021
8fa112b
Disable long running libcore tests
bjorn3 Dec 3, 2021
f296311
Test on CI with unstable cg_clif features disabled
bjorn3 Dec 3, 2021
5728c16
LLVM codgen support for unwinding inline assembly
cynecx Sep 4, 2021
dd3cb0c
cg_cranelift: check may_unwind flag instead of cleanup
cynecx Sep 4, 2021
df7f020
Remove black box inline asm fallback
bjorn3 Dec 4, 2021
e05ad7f
Use IntoIterator for array impl everywhere.
m-ou-se Sep 3, 2021
7d34d3a
Sync from rust c5c94945096265b6d675b2f55a247c4799de8d87
bjorn3 Dec 7, 2021
ff0b834
Rustup to rustc 1.59.0-nightly (0fb1c371d 2021-12-06)
bjorn3 Dec 7, 2021
aaf508c
Use const thread_local!
bjorn3 Dec 7, 2021
95cfeb4
Rustup to rustc 1.59.0-nightly (e6b883c74 2021-12-08)
bjorn3 Dec 9, 2021
4796207
Use cg_ssa for creating the dylib metadata file
bjorn3 Dec 9, 2021
057635b
Rustfmt
bjorn3 Dec 9, 2021
a4bf9fb
Use `OutputFilenames` to generate output file for `-Zllvm-time-trace`
tmiasko Dec 13, 2021
edeb389
Remove invalid doc links.
Amanieu Dec 13, 2021
c57bcb8
Rollup merge of #91868 - tmiasko:llvm-time-trace-out, r=oli-obk
matthiaskrgr Dec 15, 2021
75f6118
Remove `SymbolStr`.
nnethercote Dec 14, 2021
93511d9
Remove unnecessary sigils around `Symbol::as_str()` calls.
nnethercote Dec 15, 2021
f74cf39
Fix crash when struct argument size is not a multiple of the pointer …
bjorn3 Dec 15, 2021
2cb4fe7
Fix unused crate warning
bjorn3 Dec 16, 2021
d084fca
Sync from rust a090c8659c3be0cbc7dc93c4b2c11a9cdbf8b980
bjorn3 Dec 16, 2021
d0f97fc
Rustup to rustc 1.59.0-nightly (c5ecc1570 2021-12-15)
bjorn3 Dec 16, 2021
97a92ea
Rustc tests: ignore a couple more rustdoc tests
bjorn3 Dec 16, 2021
9e755f4
Update libc
bjorn3 Dec 16, 2021
a1037fa
Update Cranelift to 0.79.0
bjorn3 Dec 16, 2021
b532f13
Update cranelift patch section
bjorn3 Dec 17, 2021
f505157
Revert "Update Cranelift to 0.79.0"
bjorn3 Dec 17, 2021
fdd0f8a
Slightly reduce the amount of fx.module references
bjorn3 Dec 18, 2021
a795a03
Remove triple method from FunctionCx
bjorn3 Dec 18, 2021
8726625
Add cron job to test against latest cranelift version every day
bjorn3 Dec 18, 2021
c3a9a9b
Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk
bors Dec 19, 2021
bb6d83d
Sync from rust 84f962a89bac3948ed116f1ad04c2f4793fb69ea
bjorn3 Dec 20, 2021
f557a7e
Rustup to rustc 1.59.0-nightly (e95e084a1 2021-12-19)
bjorn3 Dec 20, 2021
97e5045
Fix taking address of truly unsized type field of unsized adt
bjorn3 Dec 20, 2021
3426a73
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_…
bjorn3 Dec 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move rustc_middle::middle::cstore to rustc_session.
cjgillot committed Oct 3, 2021

Verified

This commit was signed with the committer’s verified signature.
gnxlxnxx Roman Kretschmer
commit 03c02be0a7778d103c205acebcd4f8035736286b
2 changes: 1 addition & 1 deletion src/archive.rs
Original file line number Diff line number Diff line change
@@ -242,7 +242,7 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
fn inject_dll_import_lib(
&mut self,
_lib_name: &str,
_dll_imports: &[rustc_middle::middle::cstore::DllImport],
_dll_imports: &[rustc_session::cstore::DllImport],
_tmpdir: &rustc_data_structures::temp_dir::MaybeTempDir,
) {
bug!("injecting dll imports is not supported");