rust/compiler/rustc_middle/src
Stuart Cook 1262ff906b
Rollup merge of #150288 - offload-bench-fix, r=ZuseZ4
Add scalar support for offload

This PR adds scalar support to the offload feature. The scalar management has two main parts:

On the host side, each scalar arg is casted to `ix` type, zero extended to `i64` and passed to the kernel like that.
On the device, the each scalar arg (`i64` at that point), is truncated to `ix` and then casted to the original type.

r? @ZuseZ4
2026-01-20 18:00:08 +11:00
..
dep_graph Implement incremental caching for derive macro expansions 2026-01-16 07:36:36 +01:00
hir Add span field for ConstArg 2026-01-07 08:44:32 +08:00
hooks Use a hook to decouple rustc_mir_transform from rustc_mir_build 2026-01-10 22:14:35 +11:00
infer Use the name var_kinds more. 2026-01-08 13:37:34 +11:00
middle Remove all allows for diagnostic_outside_of_impl and untranslatable_diagnostic throughout the codebase 2026-01-19 17:39:49 +01:00
mir two phase borrow handling cleanups 2026-01-19 16:08:54 +00:00
query Rollup merge of #151203 - revert-QueryStackFrame-split, r=oli-obk 2026-01-16 13:57:47 +01:00
thir Rollup merge of #150846 - thir-hir-id, r=lcnr 2026-01-15 21:39:02 +11:00
traits EII type checking 2025-12-12 11:28:58 +01:00
ty Rollup merge of #150288 - offload-bench-fix, r=ZuseZ4 2026-01-20 18:00:08 +11:00
util Remove Deref/DerefMut impl for Providers. 2026-01-14 15:55:59 +11:00
arena.rs Implement incremental caching for derive macro expansions 2026-01-16 07:36:36 +01:00
error.rs Rollup merge of #144197 - KMJ-007:type-tree, r=ZuseZ4 2025-09-28 18:13:11 +02:00
lib.rs Remove all allows for diagnostic_outside_of_impl and untranslatable_diagnostic throughout the codebase 2026-01-19 17:39:49 +01:00
lint.rs compiler/middle/lint: Suggest #[expect(dead_code)] as alternative to #[allow(dead_code)] 2025-12-26 08:38:20 +01:00
macros.rs Fold visit into ty 2025-03-15 06:34:36 +00:00
metadata.rs resolve: Rename NameBinding(Data,Kind) to Decl(Data,Kind) 2026-01-06 18:21:37 +03:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs Rollup merge of #150846 - thir-hir-id, r=lcnr 2026-01-15 21:39:02 +11:00
values.rs Revert the QueryStackFrameExtra/QueryStackDeferred split. 2026-01-16 19:18:42 +11:00