public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Richard Biener <rguenth@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/rguenth/heads/vect-force-slp)] Amend --param vect-force-slp checking Date: Mon, 13 May 2024 14:27:38 +0000 (GMT) [thread overview] Message-ID: <20240513142738.CE08D38708CB@sourceware.org> (raw) https://gcc.gnu.org/g:362a1f1bc0c72c618737a634a88898e3f6142995 commit 362a1f1bc0c72c618737a634a88898e3f6142995 Author: Richard Biener <rguenther@suse.de> Date: Fri Feb 23 12:39:57 2024 +0100 Amend --param vect-force-slp checking This makes sure no non-SLP code-gen happens. * tree-vect-stmts.cc (vect_transform_stmt): Assert no non-SLP code-gen happens with --param vect-force-slp=1. Diff: --- gcc/tree-vect-stmts.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index b694cc4a8373..72a9c144823c 100644 --- a/gcc/tree-vect-stmts.cc +++ b/gcc/tree-vect-stmts.cc @@ -13373,6 +13373,8 @@ vect_transform_stmt (vec_info *vinfo, gcc_assert (slp_node || !PURE_SLP_STMT (stmt_info)); + gcc_assert (!param_vect_force_slp || slp_node); + tree saved_vectype = STMT_VINFO_VECTYPE (stmt_info); if (slp_node) STMT_VINFO_VECTYPE (stmt_info) = SLP_TREE_VECTYPE (slp_node);
next reply other threads:[~2024-05-13 14:27 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-05-13 14:27 Richard Biener [this message] -- strict thread matches above, loose matches on Subject: below -- 2024-02-23 12:01 Richard Biener
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=20240513142738.CE08D38708CB@sourceware.org \ --to=rguenth@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).