Expand comment for tree_niter_desc.max

This requirement is enforced by a gcc_checking_assert in
record_estimate.

gcc/ChangeLog:

	* tree-ssa-loop.h (tree_niter_desc): Update comment.
This commit is contained in:
Andrew Carlotti 2022-11-09 15:59:21 +00:00
parent 2aec408883
commit f80bfdcc84

View File

@ -52,7 +52,8 @@ public:
may_be_zero == false), more precisely the number
of executions of the latch of the loop. */
widest_int max; /* The upper bound on the number of iterations of
the loop. */
the loop. If niter is constant, then these values
must agree. */
/* The simplified shape of the exit condition. This information is used by
loop unrolling. If CMP is ERROR_MARK, then the loop cannot be unrolled.