re PR rtl-optimization/84989 (_mm512_broadcast_f32x4 triggers ICE in simplify_const_u...
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Mar 2018 10:13:29 +0000 (11:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Mar 2018 10:13:29 +0000 (11:13 +0100)
commit108b83c1fd97b06f1e99ffb5127f2c5b9623bb11
treebb44018dd9514fa956a3334a46e94024ad688eff
parentad6aec7153adf13f50c3e7ef27080ab002f148b5
re PR rtl-optimization/84989 (_mm512_broadcast_f32x4 triggers ICE in simplify_const_unary_operation, at simplify-rtx.c:1731)

PR rtl-optimization/84989
* simplify-rtx.c (simplify_unary_operation_1): Don't try to simplify
VEC_DUPLICATE with scalar result mode.

* gcc.target/i386/pr84989.c: New test.

From-SVN: r258709
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr84989.c [new file with mode: 0644]