]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/106498 - reduce SSA updates in autopar
authorRichard Biener <rguenther@suse.de>
Tue, 2 Aug 2022 06:37:16 +0000 (08:37 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 2 Aug 2022 06:40:30 +0000 (08:40 +0200)
commitc30bbd4d169c98b7535a30384c6a971ee875fa44
tree8e4f9d52b34fcf3c707a59adecdafe59e7efa2b4
parentbc7526f6fca0e6ac3bd462ae54170fa464539148
tree-optimization/106498 - reduce SSA updates in autopar

The following reduces the number of SSA updates done during autopar
OMP expansion, specifically avoiding the cases that just add virtual
operands (where maybe none have been before) in dead regions of the CFG.

Instead virtual SSA update is delayed until after the pass.  There's
much more TLC needed here, but test coverage makes it really difficult.

PR tree-optimization/106498
* omp-expand.cc (expand_omp_taskreg): Do not perform virtual
SSA update here.
(expand_omp_for): Or here.
(execute_expand_omp): Instead schedule it here together
with CFG cleanup via TODO.
gcc/omp-expand.cc
This page took 0.05744 seconds and 5 git commands to generate.