diff options
| author | bors <bors@rust-lang.org> | 2025-02-10 05:18:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-10 05:18:36 +0000 |
| commit | c03c38d5c2368cd2aa0e056dba060b94fc747f4e (patch) | |
| tree | a1b3efb8bcd3db6efcc8e02ba158e00595175407 /library/core/src/intrinsics/mod.rs | |
| parent | d9a4a47b8b3dc0bdff83360cea2013200d60d49c (diff) | |
| parent | 56795fb77a69bc61836537175564455067adada6 (diff) | |
| download | rust-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/src/intrinsics/mod.rs')
0 files changed, 0 insertions, 0 deletions
