about summary refs log tree commit diff
path: root/library/core
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-02-10 05:18:36 +0000
committerbors <bors@rust-lang.org>2025-02-10 05:18:36 +0000
commitc03c38d5c2368cd2aa0e056dba060b94fc747f4e (patch)
treea1b3efb8bcd3db6efcc8e02ba158e00595175407 /library/core
parentd9a4a47b8b3dc0bdff83360cea2013200d60d49c (diff)
parent56795fb77a69bc61836537175564455067adada6 (diff)
downloadrust-c03c38d5c2368cd2aa0e056dba060b94fc747f4e.tar.gz
rust-c03c38d5c2368cd2aa0e056dba060b94fc747f4e.zip
Auto merge of #134740 - Flakebi:amdgpu-target, r=workingjubilee
Add amdgpu target

Add amdgpu target to rustc and enable the LLVM target.

Fix compiling `core` with the amdgpu:
The amdgpu backend makes heavy use of different address spaces. This
leads to situations, where a pointer in one addrspace needs to be casted
to a pointer in a different addrspace. `bitcast` is invalid for this
case, `addrspacecast` needs to be used.

Fix compilation failures that created bitcasts for such cases by
creating pointer casts (which creates an `addrspacecast` under the hood)
instead.

MCP: https://github.com/rust-lang/compiler-team/issues/823
Tracking issue: #135024
Kinda related to the original amdgpu tracking issue #51575 (though that one has been closed for a while).
Diffstat (limited to 'library/core')
0 files changed, 0 insertions, 0 deletions