https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122695
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Xi Ruoyao <[email protected]>: https://gcc.gnu.org/g:f168d62bc552176572832bf129c9b392aeff46ad commit r16-5440-gf168d62bc552176572832bf129c9b392aeff46ad 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.
