tree-optimization/93439 move clique bookkeeping to OMP expansion
authorRichard Biener <rguenther@suse.de>
Tue, 28 Jan 2020 13:09:12 +0000 (14:09 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 28 Jan 2020 13:10:16 +0000 (14:10 +0100)
commit6c42e27c165b3ed1f2a388ed74091cd5a18bba85
treecd4266a0c8044c650c23ce80eca32662c9c52e4c
parent1e964774aec65472d7a0741d7faa6a884295fc81
tree-optimization/93439 move clique bookkeeping to OMP expansion

Autopar was doing clique bookkeeping too early when creating destination
functions but then later introducing new cliques via versioning loops.
The following moves the bookkeeping to the actual outlining process.

2020-01-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/93439
* tree-parloops.c (create_loop_fn): Move clique bookkeeping...
* tree-cfg.c (move_sese_region_to_fn): ... here.
(verify_types_in_gimple_reference): Verify used cliques are
tracked.

* gfortran.dg/graphite/pr93439.f90: New testcase.
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/graphite/pr93439.f90 [new file with mode: 0644]
gcc/tree-cfg.c
gcc/tree-parloops.c