diff options
author | Richard Biener <rguenther@suse.de> | 2023-08-03 15:41:16 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-08-07 15:21:19 +0200 |
commit | d8efc44d00ced7a45c2a1ea886e48f872cde9e0f (patch) | |
tree | 6f7563cc02844344bfb32566e246425f8a63d106 /gcc/tree-inline.h | |
parent | af6cfd7b663909688c6ca55b6e9f859cdde4310f (diff) | |
download | gcc-d8efc44d00ced7a45c2a1ea886e48f872cde9e0f.zip gcc-d8efc44d00ced7a45c2a1ea886e48f872cde9e0f.tar.gz gcc-d8efc44d00ced7a45c2a1ea886e48f872cde9e0f.tar.bz2 |
Use RPO order for sinking
The following makes us use RPO order instead of walking post-dominators.
This ensures we visit a block before any predecessors. I've seen
some extra sinking because of this in a larger testcase but failed
to reduce a smaller one (processing of post-dominator sons is unordered
so I failed to have "luck").
* tree-ssa-sink.cc (pass_sink_code::execute): Do not
calculate post-dominators. Calculate RPO on the inverted
graph and process blocks in that order.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions