Arm: MVE: Add mve vec_duplicate pattern
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 15 Apr 2020 11:53:46 +0000 (12:53 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 15 Apr 2020 11:53:46 +0000 (12:53 +0100)
commit479ccabc33e25efefa9925320764c929b387a152
tree7517e88336817d2ad23e80fa26752e0ae36bda80
parentd2f9e6ad0ce9e1e40821243fa9d01b7fdc42f32c
Arm: MVE: Add mve vec_duplicate pattern

This patch fixes an ICE we were seeing due to a missing vec_duplicate pattern.

gcc/ChangeLog:
2020-04-15  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* config/arm/mve.md (mve_vec_duplicate<mode>): New pattern.
(V_sz_elem2): Remove unused mode attribute.

gcc/testsuite/ChangeLog:
2020-04-15  Andre Vieira <andre.simoesdiasvieira@arm.com>
            Srinath Parvathaneni <srinath.parvathaneni@arm.com>

* gcc.target/arm/mve/intrinsics/mve_vec_duplicate.c: New test.
gcc/ChangeLog
gcc/config/arm/mve.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vec_duplicate.c [new file with mode: 0644]