public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Andrew Carlotti <acarlotti@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2033] Improve comment for tree_niter_desc.{control, bound, cmp} Date: Fri, 12 Aug 2022 13:41:34 +0000 (GMT) [thread overview] Message-ID: <20220812134134.B64783858D28@sourceware.org> (raw) https://gcc.gnu.org/g:88ee126ee0401e293888e7d1b9219ad35eb130b5 commit r13-2033-g88ee126ee0401e293888e7d1b9219ad35eb130b5 Author: Andrew Carlotti <andrew.carlotti@arm.com> Date: Fri Aug 12 14:36:22 2022 +0100 Improve comment for tree_niter_desc.{control,bound,cmp} Fix typos and explain ERROR_MARK usage. gcc/ChangeLog: * tree-ssa-loop.h: Improve comment Diff: --- gcc/tree-ssa-loop.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/tree-ssa-loop.h b/gcc/tree-ssa-loop.h index 415f461c37e..6c70f795d17 100644 --- a/gcc/tree-ssa-loop.h +++ b/gcc/tree-ssa-loop.h @@ -54,11 +54,11 @@ public: widest_int max; /* The upper bound on the number of iterations of the loop. */ - /* The simplified shape of the exit condition. The loop exits if - CONTROL CMP BOUND is false, where CMP is one of NE_EXPR, - LT_EXPR, or GT_EXPR, and step of CONTROL is positive if CMP is - LE_EXPR and negative if CMP is GE_EXPR. This information is used - by loop unrolling. */ + /* 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. + Otherwise, the loop exits if CONTROL CMP BOUND is false, where CMP is one + of NE_EXPR, LT_EXPR, or GT_EXPR, and CONTROL.STEP is positive if CMP is + LT_EXPR and negative if CMP is GT_EXPR. */ affine_iv control; tree bound; enum tree_code cmp;
reply other threads:[~2022-08-12 13:41 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220812134134.B64783858D28@sourceware.org \ --to=acarlotti@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).