aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-iterator.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-04-20 13:56:21 +0200
committerRichard Biener <rguenther@suse.de>2023-04-21 09:48:00 +0200
commita322f37a57bc164d9ab8445079655afc533ddae9 (patch)
treedca2093b10cc4e859b0aaeff17196e2f4013cce8 /gcc/gimple-iterator.h
parenta80c68a08604b0ac625ac7fc59eae40b551b1176 (diff)
downloadgcc-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