rs6000.c (rs6000_gimple_fold_builtin): Add support for early folding of splat_u{8...
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Mon, 11 Dec 2017 21:15:48 +0000 (21:15 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Mon, 11 Dec 2017 21:15:48 +0000 (21:15 +0000)
commita5648717a8826a1bb60afd31b56c48b60d3813d4
tree135aa9cee1f0d9fe5d60f6246434b2ff0a81e3d7
parent243501b772ee3aaef5bdf31afe24af90fe43428b
rs6000.c (rs6000_gimple_fold_builtin): Add support for early folding of splat_u{8,16,32}.

[gcc]

2017-12-11  Will Schmidt  <will_schmidt@vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for
early folding of splat_u{8,16,32}.

[testsuite]

2017-12-11  Will Schmidt  <will_schmidt@vnet.ibm.com>

* gcc.target/powerpc/fold-vec-splat-misc-invalid.c: New.

From-SVN: r255549
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-splat-misc-invalid.c [new file with mode: 0644]