bjorn3
1fcae03369
Rustfmt
2025-02-08 22:12:13 +00:00
Jubilee Young
e42cb3bedc
cg_gcc: Directly use rustc_abi instead of reexports
2025-02-04 22:31:56 -08:00
Antoni Boucher
06f0a9bc78
Merge commit '59a81c2ca1edc88ad3ac4b27a8e03977ffb8e73a' into subtree-update_cg_gcc_2025_01_12
2025-01-13 10:53:58 -05:00
Caleb Zulawski
e73e9f9af2
Add simd_relaxed_fma intrinsic
2024-11-23 14:39:42 -05:00
lcnr
9cba14b95b
use TypingEnv when no infcx is available
...
the behavior of the type system not only depends on the current
assumptions, but also the currentnphase of the compiler. This is
mostly necessary as we need to decide whether and how to reveal
opaque types. We track this via the `TypingMode`.
2024-11-18 10:38:56 +01:00
Michael Goulet
5cf8107aa6
Fix tests
2024-10-19 18:07:35 +00:00
Urgau
018ba0528f
Use wide pointers consistenly across the compiler
2024-10-04 14:06:48 +02:00
Guillaume Gomez
325b70890a
Merge commit '3187d32079b817522cc17413ec9185b130daf693' into subtree-update
2024-09-27 22:00:17 +02:00
Michael Goulet
c682aa162b
Reformat using the new identifier sorting from rustfmt
2024-09-22 19:11:29 -04:00
Nicholas Nethercote
a8d22eb39e
Rename supertraits of CodegenMethods.
...
Supertraits of `BuilderMethods` are all called `XyzBuilderMethods`.
Supertraits of `CodegenMethods` are all called `XyzMethods`. This commit
changes the latter to `XyzCodegenMethods`, for consistency.
2024-09-17 10:24:43 +10:00
Ralf Jung
60ee1b7ac6
simd_shuffle: require index argument to be a vector
2024-09-14 14:43:24 +02:00
Ralf Jung
194baa820d
simd_shuffle intrinsic: allow argument to be passed as vector (not just as array)
2024-08-13 07:51:17 +02:00
Nicholas Nethercote
84ac80f192
Reformat use declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Guillaume Gomez
7cbe50e209
Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master
2024-07-10 12:44:23 +02:00
Scott McMurray
8ee3d29cd9
Stop using to_hir_binop in codegen
2024-05-22 01:34:26 -07:00
bors
29a56a3b1c
Auto merge of #122053 - erikdesjardins:alloca, r=nikic
...
Stop using LLVM struct types for alloca
The alloca type has no semantic meaning, only the size (and alignment, but we specify it explicitly) matter. Using `[N x i8]` is a more direct way to specify that we want `N` bytes, and avoids relying on LLVM's struct layout. It is likely that a future LLVM version will change to an untyped alloca representation.
Split out from #121577 .
r? `@ghost`
2024-04-24 03:00:44 +00:00
Erik Desjardins
f4426c189f
use [N x i8] for alloca types
2024-04-11 21:42:35 -04:00
Scott McMurray
89502e584b
Make PlaceRef hold a PlaceValue for the non-layout fields (like OperandRef does)
2024-04-11 00:10:10 -07:00
Michael Goulet
7be0dbe772
Make RawPtr take Ty and Mutbl separately
2024-03-22 11:13:29 -04:00
Guillaume Gomez
0d359efbe6
Merge commit 'b385428e3ddf330805241e7758e773f933357c4b' into subtree-update_cg_gcc_2024-03-05
2024-03-05 19:58:36 +01:00
Ralf Jung
07b6240947
remove simd_reduce_{min,max}_nanless
2024-02-21 20:50:47 +01:00
Ralf Jung
3dc631a61a
make simd_reduce_{mul,add}_unordered use only the 'reassoc' flag, not all fast-math flags
2024-02-21 16:28:20 +01:00
Nicholas Nethercote
99472c7049
Remove Session methods that duplicate DiagCtxt methods.
...
Also add some `dcx` methods to types that wrap `TyCtxt`, for easier
access.
2023-12-24 08:05:28 +11:00
Oli Scherer
4457ef2c6d
Forbid old-style simd_shuffleN intrinsics
2023-08-03 09:29:00 +00:00
Jhonny Bill Mena
7a888fb56e
UPDATE - replace expected_simd error with one from codegen_ssa
...
Here I am assuming we want to treat these parameters (input, first, second, third, return) as translatable
2023-07-20 00:20:00 -04:00
Jhonny Bill Mena
051615e198
UPDATE - replace gcc monomorphization errors with ssa ones
...
Reduces error duplication and makes it more consistent across backends
2023-07-19 23:40:08 -04:00
Antoni Boucher
4d96893d85
Merge commit '1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6' into sync-cg_gcc-2023-06-19
2023-06-19 18:51:02 -04:00
Antoni Boucher
6bb2af0e6d
Merge commit '08a6d6e16b5efe217123e780398969946266268f' into sync-cg_gcc-2023-03-04
2023-03-05 12:03:19 -05:00
Oli Scherer
936bf29d4c
s/eval_usize/eval_target_usize/ for clarity
2023-02-14 08:51:19 +00: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
Ellis Hoag
d7bee58105
remove comment
2022-09-24 15:03:14 -07:00
Ellis Hoag
249e46bfba
Add monomorphization errors
2022-09-24 10:24:48 -07:00
Antoni Boucher
80cbaa3b9f
Remove unused macro rule
2022-06-07 08:50:13 -04:00
Antoni Boucher
3fac982e07
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
2022-06-06 22:04:37 -04:00
Mark Rousskov
b454991ac4
Finish bumping stage0
...
It looks like the last time had left some remaining cfg's -- which made me think
that the stage0 bump was actually successful. This brings us to a released 1.62
beta though.
2022-05-27 07:36:17 -04:00
bjorn3
bbff48e094
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
2022-03-26 18:29:37 +01:00
Nicholas Nethercote
056d48a2c9
Remove unnecessary sigils around Symbol::as_str() calls.
2021-12-15 17:32:14 +11:00
Antoni Boucher
3d5d4e324d
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
2021-08-15 08:29:07 -04:00
Antoni Boucher
f7237f16ae
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
...
git-subtree-dir: compiler/rustc_codegen_gcc
git-subtree-mainline: ae90dcf020
git-subtree-split: afae271d5d
2021-08-12 21:53:49 -04:00