re PR tree-optimization/87985 (Compile-time and memory hog w/ -O1 -ftree-slp-vectorize)
authorRichard Biener <rguenther@suse.de>
Wed, 14 Nov 2018 14:33:44 +0000 (14:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 14 Nov 2018 14:33:44 +0000 (14:33 +0000)
commite81d464cafa9815e64674a2e3b3e9d0e5eac6b31
treea43ef4c7a9fd2d3f47b781e1e15c3a1315ef82cb
parent78ef03b7c3a41afab87ad6b89c7c2dde5b600cbc
re PR tree-optimization/87985 (Compile-time and memory hog w/ -O1 -ftree-slp-vectorize)

2018-11-14  Richard Biener  <rguenther@suse.de>

PR middle-end/87985
* tree-data-ref.c (split_constant_offset): Add wrapper
allocating a cache hash-map.
(split_constant_offset_1): Cache results of expanding
expressions from SSA def stmts.

* gcc.dg/pr87985.c: New testcase.

From-SVN: r266147
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr87985.c [new file with mode: 0644]
gcc/tree-data-ref.c