Guillaume Gomez
0d359efbe6
Merge commit ' b385428e3d
' into subtree-update_cg_gcc_2024-03-05
2024-03-05 19:58:36 +01:00
Antoni Boucher
c797cccda6
Merge commit ' e4fe941b11
' into subtree-update_cg_gcc_2023-10-25
2023-10-26 17:42:02 -04:00
Antoni Boucher
30290c8b41
Merge commit ' 11a0cceab9
' into subtree-update_cg_gcc_2023-10-09
2023-10-09 15:53:34 -04:00
Ralf Jung
29a4b7b971
fix gcc, cranelift build
2023-09-15 10:43:44 +02:00
Ralf Jung
89139d4c46
clarify PassMode::Indirect as well
2023-09-15 10:43:44 +02:00
Ralf Jung
9b9cb51a40
remove an unused argument
...
it was already unused before, but due to the recursion the compiler did not realize
2023-08-28 18:21:16 +02:00
bjorn3
62cf644c64
Merge apply_attrs_callsite into call and invoke
...
Some codegen backends are not able to apply callsite attrs after the fact.
2022-10-01 17:01:31 +00:00
Nicholas Nethercote
f974617bda
Move ArgAbi::pad_i32
into PassMode::Cast
.
...
Because it's only needed for that variant. This shrinks the types and
clarifies the logic.
2022-08-26 11:12:36 +10:00
Nicholas Nethercote
b853e8a619
Turn ArgAbi::pad
into a bool
.
...
Because it's only ever set to `None` or `Some(Reg::i32())`.
2022-08-26 10:53:41 +10:00
Nicholas Nethercote
feeaa4db3c
Simplify arg capacity calculations.
...
Currently they try to be very precise. But they are wrong, i.e. they
don't match what's happening in the loop below. This code isn't hot
enough for it to matter that much.
2022-08-26 10:45:45 +10:00
Nicholas Nethercote
b75b3b3afe
Change FnAbi::args
to a boxed slice.
2022-08-26 10:30:36 +10:00
Nicholas Nethercote
e4bf113027
Box CastTarget
within PassMode
.
...
Because `PassMode::Cast` is by far the largest variant, but is
relatively rare.
This requires making `PassMode` not impl `Copy`, and `Clone` is no
longer necessary. This causes lots of sigil adjusting, but nothing very
notable.
2022-08-26 09:35:28 +10:00
Michael Woerister
88f6c6d8a0
Remove unused StableMap and StableSet types from rustc_data_structures
2022-07-20 13:11:39 +02:00
bjorn3
bbff48e094
Merge commit ' 39683d8eb7
' into sync_cg_gcc-2022-03-26
2022-03-26 18:29:37 +01:00
bors
a2b7b7891e
Auto merge of #91003 - psumbera:sparc64-abi, r=nagisa
...
fix sparc64 ABI for aggregates with floating point members
Fixes #86163
2021-12-02 02:59:44 +00:00
Petr Sumbera
128ceec92d
fix sparc64 ABI for aggregates with floating point members
2021-12-01 10:03:45 +01:00
rdambrosio
870b8311c1
Feat: make cg_ssa get_param borrow the builder mutable
2021-11-23 22:30:20 -05:00
Antoni Boucher
3d5d4e324d
Merge commit ' e228f0c16e
' into libgccjit-codegen
2021-08-15 08:29:07 -04:00
Antoni Boucher
f7237f16ae
Add 'compiler/rustc_codegen_gcc/' from commit ' afae271d5d
'
...
git-subtree-dir: compiler/rustc_codegen_gcc
git-subtree-mainline: ae90dcf020
git-subtree-split: afae271d5d
2021-08-12 21:53:49 -04:00