| commit | 9c92b2ba08e85aa835c439f93902f80e0b48cb83 | [log] [tgz] |
|---|---|---|
| author | Xi Ruoyao <xry111@xry111.site> | Sun Nov 16 00:30:43 2025 +0800 |
| committer | Xi Ruoyao <xry111@xry111.site> | Thu Nov 20 15:28:00 2025 +0800 |
| tree | 3b87665107e059d9c114ea9c89a4e94b9d9ff291 | |
| parent | 678cfb36c4ae5c809512f5330a28271232ce39f0 [diff] |
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)