Gary Guo
3b1dd1bfa9
Implement asm goto in MIR and MIR lowering
2024-02-24 18:50:09 +00:00
bjorn3
37018026f0
Merge commit ' 3e50cf6502
' into sync_cg_clif-2024-01-26
2024-01-26 18:33:45 +00: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
surechen
40ae34194c
remove redundant imports
...
detects redundant imports that can be eliminated.
for #117772 :
In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
2023-12-10 10:56:22 +08:00
bjorn3
4db95ce3cb
Merge commit ' def04540a4
' into sync_cg_clif-2023-11-16
2023-11-16 21:15:07 +00:00
bjorn3
d186b49460
Merge commit ' c84d1871dc
' into sync_cg_clif-2023-11-10
2023-11-10 11:30:51 +00:00
bjorn3
a9b21bb727
Merge commit ' dde58803fd
' into sync_cg_clif-2023-10-29
2023-10-29 20:30:50 +00:00
bjorn3
484bc7fc88
Merge commit ' 93a5433f17
' into sync_cg_clif-2023-10-24
2023-10-24 12:22:23 +00:00
bjorn3
e07f47b6c5
Merge commit ' c07d1e2f88
' into sync_cg_clif-2023-10-21
2023-10-21 19:54:51 +00:00
bjorn3
169055f2ff
Merge commit ' 81dc066758
' into sync_cg_clif-2023-10-09
2023-10-09 08:52:46 +00:00
Ralf Jung
c94410c145
rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const
2023-09-21 08:12:30 +02:00
Ralf Jung
89ac57db4d
move required_consts check to general post-mono-check function
2023-09-14 22:30:42 +02:00
Mahdi Dibaiee
e55583c4b8
refactor(rustc_middle): Substs -> GenericArg
2023-07-14 13:27:35 +01:00
bjorn3
fce629d2e9
Merge commit ' dec0daa8f6
' into sync_cg_clif-2023-03-15
2023-03-15 14:41:48 +00:00
bjorn3
e25566e20b
Merge commit ' 7d53619064
' into sync_cg_clif-2023-02-09
2023-02-09 12:38:16 +01:00
bjorn3
e54a13f18b
Merge commit ' 266e96785a
' into sync_cg_clif-2022-10-23
2022-10-23 16:22:55 +02:00
bjorn3
7b9c8c8781
Merge commit ' e9d1a0a7b0
' into sync_cg_clif-2022-08-24
2022-08-24 18:40:58 +02:00
bjorn3
7a3ed235eb
Merge commit ' c19edfd71a
' into sync_cg_clif-2022-07-25
2022-07-25 16:07:57 +02:00
Amanieu d'Antras
fc41d4bf35
Take CodegenFnAttrs into account when validating asm! register operands
...
Checking of asm! register operands now properly takes function
attributes such as #[target_feature] and #[instruction_set] into
account.
2022-02-21 18:28:22 +00:00
Amanieu d'Antras
1ceb104851
On ARM, use relocation_model to detect whether r9 should be reserved
...
The previous approach of checking for the reserve-r9 target feature
didn't actually work because LLVM only sets this feature very late when
initializing the per-function subtarget.
2022-02-21 18:28:22 +00:00
bjorn3
042aa379a5
Pass target_features set instead of has_feature closure
...
This avoids unnecessary monomorphizations in codegen backends
2022-01-17 18:06:30 +01:00
bjorn3
991cbd1503
Use Symbol for target features in asm handling
...
This saves a couple of Symbol::intern calls
2022-01-17 18:06:27 +01:00
bjorn3
3426a730ff
Merge commit ' 97e5045493
' into sync_cg_clif-2021-12-20
2021-12-20 18:56:35 +01:00
Amanieu d'Antras
d1204ac3b1
Remove invalid doc links.
2021-12-13 20:40:17 +00:00
bjorn3
fa702d0d2b
Merge commit ' 40dd3e2b70
' into sync_cg_clif-2021-05-27
2021-05-27 13:08:14 +02:00
Erin Power
505aa48f24
Sync rustc_codegen_cranelift ' ddd4ce2553
'
2021-04-30 14:49:58 +02:00
bjorn3
5444b46234
Merge commit ' 0969bc6dde
' into sync_cg_clif-2021-03-29
2021-03-29 10:45:09 +02:00
bjorn3
7a6ea77473
Merge commit ' 9a0c32934e
' into sync_cg_clif-2021-03-05
2021-03-05 19:12:59 +01:00
bjorn3
216c4ae463
Merge commit ' 03f01bbe90
' into update_cg_clif-2020-11-01
2020-11-03 11:00:04 +01:00
bjorn3
ac4f7deb2f
Add 'compiler/rustc_codegen_cranelift/' from commit ' 793d26047f
'
...
git-subtree-dir: compiler/rustc_codegen_cranelift
git-subtree-mainline: cf798c1ec6
git-subtree-split: 793d26047f
2020-10-26 09:53:27 +01:00