https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98657
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Simoes Dias Vieira <avie...@gcc.gnu.org>: https://gcc.gnu.org/g:6070e39cd0af6ac4a88004c8b1b6a900a8bbce36 commit r11-7291-g6070e39cd0af6ac4a88004c8b1b6a900a8bbce36 Author: Andre Vieira <andre.simoesdiasvie...@arm.com> Date: Fri Feb 19 09:13:02 2021 +0000 aarch64: Check predicate when using gen_vec_duplicate [PR98657] Prevents generation of a vec_duplicate with illegal predicate in <ASHIFT:optab><mode>3. gcc/ChangeLog: 2021-02-19 Andre Vieira <andre.simoesdiasvie...@arm.com> PR target/98657 * config/aarch64/aarch64-sve.md (<ASHIFT:optab><mode>3): Use expand_vector_broadcast' to emit the vec_duplicate operand. gcc/testsuite/ChangeLog: 2021-02-19 Andre Vieira <andre.simoesdiasvie...@arm.com> PR target/98657 * gcc.target/aarch64/sve/pr98657.c: New test.