Package: llvm-toolchain-17
Version: 1:17.0.6-9
Severity: wishlist
Tags: patch
User: debian-de...@lists.debian.org
Usertags: loong64
Dear Maintainer,
As Loongson SIMD Extension (LSX) and Loongson Advanced SIMD
Extension(LASX) are not fully supported on LLVM17, InlineAsm for LSX and
LASX should not be
supported on LLVM17. D154931[1] which adds support InlineAsm for LSX and
LASX needs to be reverted on LLVM17. Otherwise it leads to the following
issue[2]
when -mlsx/-mlasx options are passed to llc:
'''
LLVM ERROR: Cannot select: 0x7ffea41a3650: ch = store<(store (s128) into
%ir.mask
store52)> 0x7ffea41a35e0, 0x7ffea4196a30, FrameIndex:i64<6>, undef:i64
'''
LSX and LASX are fully supported on LLVM18 and are not supported on
LLVM16, thus only LLVM17 has the problem.
The MR[3] which will fix the issue has already been submitted. Your
suggestions are always welcome.
[1] https://reviews.llvm.org/D154931
[2]
https://buildd.debian.org/status/fetch.php?pkg=qtdeclarative-opensource-src&arch=loong64&ver=5.15.10%2Bdfsg-2%2Bb1&stamp=1710571569&raw=0
[3]
https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/merge_requests/135
Thanks.