https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122695

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Xi Ruoyao <[email protected]>:

https://gcc.gnu.org/g:9c92b2ba08e85aa835c439f93902f80e0b48cb83

commit r15-10537-g9c92b2ba08e85aa835c439f93902f80e0b48cb83
Author: Xi Ruoyao <[email protected]>
Date:   Sun Nov 16 00:30:43 2025 +0800

    LoongArch: Fix wrong code from loongarch_expand_vec_perm_1 [PR 122695]

            PR target/122695

    gcc/

            * config/loongarch/loongarch.cc (loongarch_expand_vec_perm_1):
            Simplify and fix the logic preventing the xvshuf.* unpredictable
            behavior.

    gcc/testsuite/

            * gcc.target/loongarch/pr122695-1.c: New test.
            * gcc.target/loongarch/pr122695-2.c: New test.

    (cherry picked from commit f168d62bc552176572832bf129c9b392aeff46ad)

Reply via email to