Skip to content

Sync 2026-09-23 - #984

Merged
GuillaumeGomez merged 4 commits into
rust-lang:masterfrom
GuillaumeGomez:sync-2026-09-23
Sep 24, 2026
Merged

GuillaumeGomez merged 4 commits into
rust-lang:masterfrom
GuillaumeGomez:sync-2026-09-23

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

No description provided.

Jamesbarford and others added 3 commits September 22, 2026 13:04
Both will be used by the amdgpu target to implement the `gpu-kernel`
ABI.

`address_space` specifies the address space of an indirect argument.

`AmdgpuKernelArg` translates to LLVM’s byref, which is similar to
on_stack/byval, however, there is no extra copy made, the pointer may
not point to the stack but can point to some other address space, and
the passed argument should not be modified.

byval and byref are mutually exclusive, so change on_stack to an enum
with the new states, Pointer (none), OnStack and AmdgpuKernelArg.
@GuillaumeGomez
GuillaumeGomez merged commit ffb7eef into rust-lang:master Sep 24, 2026
42 checks passed
@GuillaumeGomez
GuillaumeGomez deleted the sync-2026-09-23 branch September 24, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants