Revert: completely_scalarize arrays as well as records
authorAlan Lawrence <alan.lawrence@arm.com>
Fri, 28 Aug 2015 15:04:17 +0000 (15:04 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Fri, 28 Aug 2015 15:04:17 +0000 (15:04 +0000)
commitba60d5c3d56f2561188e02eb2e33314714781c2f
treeb285ceffe12a51731dbb4d35528b6935069929e5
parentbd459d0b1dccf93dfd79204362a1740ca827c0e4
Revert: completely_scalarize arrays as well as records

gcc/:
Revert:
2015-08-27  Alan Lawrence  <alan.lawrence@arm.com>
PR tree-optimization/67283
* tree-sra.c (type_consists_of_records_p): Rename to...
(scalarizable_type_p): ...this, add case for ARRAY_TYPE.

(completely_scalarize_record): Rename to...
(completely_scalarize): ...this, add ARRAY_TYPE case, move some
 code to:
(scalarize_elem): New.

gcc/testsuite/:

Revert:
2015-08-27  Alan Lawrence  <alan.lawrence@arm.com>
* gcc.dg/tree-ssa/sra-15.c: New.

From-SVN: r227303
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/sra-15.c [deleted file]
gcc/tree-sra.c