rs6000.c (rs6000_gimple_fold_builtin): Return early if there is no lhs.
authorWill Schmidt <willschm@gcc.gnu.org>
Thu, 13 Jul 2017 14:09:12 +0000 (14:09 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Thu, 13 Jul 2017 14:09:12 +0000 (14:09 +0000)
commit1260d19905063540e560bda4924f09f1aff4bed5
tree454af3d3098d9b80041311cdffd31de14ddcffc0
parent1447cedf861772613f6cdc5571bb26ebc107c191
rs6000.c (rs6000_gimple_fold_builtin): Return early if there is no lhs.

[gcc]

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

* config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Return
early if there is no lhs.

[testsuite]

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

* gcc.target/powerpc/fold-vec-missing-lhs: New.

From-SVN: r250185
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-missing-lhs.c [new file with mode: 0644]