]> git.ipfire.org Git - thirdparty/gcc.git/commit
LoongArch: Fix invalid subregs in xorsign [PR118501]
authorXi Ruoyao <xry111@xry111.site>
Wed, 22 Jan 2025 09:16:29 +0000 (17:16 +0800)
committerXi Ruoyao <xry111@xry111.site>
Thu, 23 Jan 2025 03:38:17 +0000 (11:38 +0800)
commit9ddf4a6cc650360e620c8fd97f550bf833cc177a
tree2e195a462b3606b4b398c528e662ee358036e519
parent06b78732f7ce424ab7d8c619f1ea90936fedff51
LoongArch: Fix invalid subregs in xorsign [PR118501]

The test case added in r15-7073 now triggers an ICE, indicating we need
the same fix as AArch64.

gcc/ChangeLog:

PR target/118501
* config/loongarch/loongarch.md (@xorsign<mode>3): Use
force_lowpart_subreg.
gcc/config/loongarch/loongarch.md