]> git.ipfire.org Git - people/ms/gcc.git/commit
tree-optimization/106881 - fix simple_control_dep_chain part
authorRichard Biener <rguenther@suse.de>
Fri, 9 Sep 2022 07:56:45 +0000 (09:56 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 9 Sep 2022 09:48:09 +0000 (11:48 +0200)
commit923da63e0f69b091014df5cc91498756053b1a46
treecf9fccb12f139957aae9b15ca87b0b92e59b2dd4
parentc2c3e4f6698925c8c969d8525677fbfe98f78909
tree-optimization/106881 - fix simple_control_dep_chain part

This adjusts simple_control_dep_chain in the same way I adjusted
compute_control_dep_chain_pdom to avoid adding fallthru edges to
the predicate chain.

PR tree-optimization/106881
* gimple-predicate-analysis.cc (simple_control_dep_chain):
Add only non-fallthru edges and avoid the same set of edges
as compute_control_dep_chain_pdom does.
gcc/gimple-predicate-analysis.cc