rs6000.c (gimple-ssa.h): New #include.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 4 Nov 2016 18:15:30 +0000 (18:15 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 4 Nov 2016 18:15:30 +0000 (18:15 +0000)
commitfff6ed28b29e9fff2026ee79446f2e565ef63806
tree007dfb6d606b01fe8fd0fec1600f42d895f74e01
parentb53f8c22f0ae2d594d46438e21ab83d7d755d7f1
rs6000.c (gimple-ssa.h): New #include.

[gcc]

2016-11-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (gimple-ssa.h): New #include.
(TARGET_GIMPLE_FOLD_BUILTIN): Define as
rs6000_gimple_fold_builtin.
(rs6000_gimple_fold_builtin): New function.  Add handling for
early expansion of vector addition builtins.

[gcc/testsuite]

2016-11-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/fold-vec-add-1.c: New.
* gcc.target/powerpc/fold-vec-add-2.c: New.
* gcc.target/powerpc/fold-vec-add-3.c: New.
* gcc.target/powerpc/fold-vec-add-4.c: New.
* gcc.target/powerpc/fold-vec-add-5.c: New.
* gcc.target/powerpc/fold-vec-add-6.c: New.
* gcc.target/powerpc/fold-vec-add-7.c: New.

From-SVN: r241857
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-add-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-add-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-add-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-add-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-add-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-add-6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c [new file with mode: 0644]