public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112661] [14] RISC-V ICE: in duplicate_and_interleave, at tree-vect-slp.cc:8025 with maxval_char_3.f90 vlen256b Date: Wed, 22 Nov 2023 11:56:42 +0000 [thread overview] Message-ID: <bug-112661-4-IdGxcl2lMu@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-112661-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112661 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |rsandifo at gcc dot gnu.org Last reconfirmed| |2023-11-22 Status|UNCONFIRMED |NEW --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- We are code-generating t.f90:1:12: note: node (constant) 0x53bc430 (max_nunits=1, refcnt=1) vector([8,8]) unsigned int t.f90:1:12: note: { 1, 1, 1, 1, 1 } during SLP node analysis we assume we can constant generate constants/externals as only consumers will determine the vector type. vectorizable_store doesn't verify it can generate the constant though. Instead we are checking this at SLP build time. We're using E_RVVM1SImode as base_vector_mode and count is 5. There's obviously no integer mode for size '5'. But it is a constant size vector so I wonder why we ask for can_duplicate_and_interleave_p at all, that is, how we arrive at vector([8,8]) for a constant size vinfo->vector_mode. At analysis time we do if ((dt == vect_constant_def || dt == vect_external_def) && !GET_MODE_SIZE (vinfo->vector_mode).is_constant () && TREE_CODE (type) != BOOLEAN_TYPE && !can_duplicate_and_interleave_p (vinfo, stmts.length (), type)) { see how we look at vinfo->vector_mode here.
next prev parent reply other threads:[~2023-11-22 11:56 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-11-21 22:33 [Bug middle-end/112661] New: " patrick at rivosinc dot com 2023-11-22 6:31 ` [Bug tree-optimization/112661] " rdapp at gcc dot gnu.org 2023-11-22 7:29 ` juzhe.zhong at rivai dot ai 2023-11-22 7:46 ` rdapp at gcc dot gnu.org 2023-11-22 11:56 ` rguenth at gcc dot gnu.org [this message] 2023-11-22 12:24 ` [Bug tree-optimization/112661] [14] RISC-V ICE: in duplicate_and_interleave, at tree-vect-slp.cc:8025 with maxval_char_3.f90 vlen256b since r14-5101-g60034ecf25597b rguenth at gcc dot gnu.org 2023-11-22 12:25 ` rguenth at gcc dot gnu.org 2023-11-22 12:41 ` rguenth at gcc dot gnu.org 2023-11-22 13:38 ` rsandifo at gcc dot gnu.org 2023-11-22 14:23 ` rguenth at gcc dot gnu.org 2023-11-22 14:56 ` rsandifo at gcc dot gnu.org 2023-11-23 7:21 ` rguenth at gcc dot gnu.org 2023-11-23 7:47 ` rguenth at gcc dot gnu.org 2023-11-24 10:10 ` rsandifo at gcc dot gnu.org 2023-11-24 10:22 ` rguenth at gcc dot gnu.org 2023-11-26 21:43 ` rsandifo at gcc dot gnu.org 2023-11-27 13:38 ` cvs-commit at gcc dot gnu.org 2023-11-27 13:39 ` rsandifo at gcc dot gnu.org
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=bug-112661-4-IdGxcl2lMu@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).