Skip to content

[LoongArch] addrspacecast missing #82330

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
heiher opened this issue Feb 20, 2024 · 0 comments · Fixed by #82332
Closed

[LoongArch] addrspacecast missing #82330

heiher opened this issue Feb 20, 2024 · 0 comments · Fixed by #82332

Comments

@heiher
Copy link
Member

heiher commented Feb 20, 2024

This error occurs when building rust 1.72.1 on alpine:

LLVM ERROR: Cannot select: 0xffde112cd0: i64 = addrspacecast[1 -> 0] Constant: i64<0>
  0xffde112870: i64 = Constant<0>
In function: _ZN103_$LT$alloc..vec..into_iter..IntoIter$LT$T$C$A$GT$u20$as$u20$core..iter..traits..iterator..Iterator$GT$24__iterator_get_unchecked17h87aefb477eefd6c5E
heiher added a commit that referenced this issue Feb 21, 2024
This PR indicates that `addrspacecasts` are always no-ops on LoongArch.

Fixes #82330
llvmbot pushed a commit to llvmbot/llvm-project that referenced this issue Mar 23, 2024
This PR indicates that `addrspacecasts` are always no-ops on LoongArch.

Fixes llvm#82330

(cherry picked from commit dd3e0a4)
llvmbot pushed a commit to llvmbot/llvm-project that referenced this issue Mar 24, 2024
This PR indicates that `addrspacecasts` are always no-ops on LoongArch.

Fixes llvm#82330

(cherry picked from commit dd3e0a4)
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants