]> git.ipfire.org Git - thirdparty/gcc.git/commit
Improve uninit_analysis::collect_phi_def_edges
authorRichard Biener <rguenther@suse.de>
Thu, 25 Aug 2022 14:27:12 +0000 (16:27 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 26 Aug 2022 06:23:50 +0000 (08:23 +0200)
commit8b4d528d8c57ad7a2d5e39427bf4af7b8c1668c3
tree80b019eafb2699382dd7350f7b9ace146e416556
parenteb6358247a9386db2828450477d86064f213e0a8
Improve uninit_analysis::collect_phi_def_edges

This avoids expanding an edge to those of a PHI def if it is not
may-undefined, reducing the number of compute_control_dep_chain calls.

* gimple-predicate-analysis.cc
(uninit_analysis::collect_phi_def_edges): Only expand a
PHI def edge when it is possibly undefined.
gcc/gimple-predicate-analysis.cc