]> git.ipfire.org Git - thirdparty/gcc.git/commit
Improve compute_control_dep_chain documentation
authorRichard Biener <rguenther@suse.de>
Fri, 26 Aug 2022 11:39:29 +0000 (13:39 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 29 Aug 2022 07:59:31 +0000 (09:59 +0200)
commit3358c24a32129f6dafa9f7af2dfeab3bca9d68c4
treee63f9cb803c60fb34713da5aff546a0fa3448652
parent7b9b6969a99725a171ee0ad4006cc39b0f7abf77
Improve compute_control_dep_chain documentation

The following refactors compute_control_dep_chain slightly by
inlining is_loop_exit and factoring the check on the loop
invariant condition.  It also adds a comment as of how I
understand the code and it's current problem.

* gimple-predicate-analysis.cc (compute_control_dep_chain):
Inline is_loop_exit and refactor, add comment about
loop exits.
gcc/gimple-predicate-analysis.cc