diff options
author | Richard Biener <rguenther@suse.de> | 2023-04-20 13:56:21 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-04-21 09:48:00 +0200 |
commit | a322f37a57bc164d9ab8445079655afc533ddae9 (patch) | |
tree | dca2093b10cc4e859b0aaeff17196e2f4013cce8 /gcc/gimple-iterator.h | |
parent | a80c68a08604b0ac625ac7fc59eae40b551b1176 (diff) | |
download | gcc-a322f37a57bc164d9ab8445079655afc533ddae9.zip gcc-a322f37a57bc164d9ab8445079655afc533ddae9.tar.gz gcc-a322f37a57bc164d9ab8445079655afc533ddae9.tar.bz2 |
Fix LCM dataflow CFG order
The following fixes the initial order the LCM dataflow routines process
BBs. For a forward problem you want reverse postorder, for a backward
problem you want reverse postorder on the inverted graph.
The LCM iteration has very many other issues but this allows to
turn inverted_post_order_compute into computing a reverse postorder
more easily.
* lcm.cc (compute_antinout_edge): Use RPO on the inverted graph.
(compute_laterin): Use RPO.
(compute_available): Likewise.
Diffstat (limited to 'gcc/gimple-iterator.h')
0 files changed, 0 insertions, 0 deletions