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/95487] [10/11 Regression] ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 since r10-1052-gc29c92c789d93848 Date: Wed, 03 Jun 2020 13:37:10 +0000 [thread overview] Message-ID: <bug-95487-4-Qgv5Z1Vx8u@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-95487-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95487 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- We also fail to unswitch the outer loop on if (d) (probably simply because we don't unswitch outer loops). It's likely the invariantness of the condition that makes the problem. We're vectorizing <bb 32> [local count: 437450365]: # b_43 = PHI <b_24(33), b_15(53)> _46 = (int) b_43; _65 = &g[_46]; .MASK_STORE (_65, 32B, d.0_2, 0); b.3_25 = (unsigned short) b_43; _33 = b.3_25 + 2; b_24 = (short int) _33; if (b_24 >= 0) goto <bb 30>; [11.00%] else goto <bb 33>; [89.00%] <bb 33> [local count: 389330825]: goto <bb 32>; [100.00%] where we use a scatter because we fail to analyze the evolution for g[b]. We don't get a vector boolean type for the mask because the "magic" here doesn't work this way. 1508 else if (VECT_SCALAR_BOOLEAN_TYPE_P (TREE_TYPE (op)) 1509 && VECTOR_BOOLEAN_TYPE_P (stmt_vectype)) 1510 vector_type = truth_type_for (stmt_vectype); which does not consider that the mask in scatters might need a vector boolean type. But it appearantly does. Test coverage for this code seems to be non-existent though :/ I do have a patch that fixes the testcase though.
next prev parent reply other threads:[~2020-06-03 13:37 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-03 0:56 [Bug tree-optimization/95487] New: ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 vsevolod.livinskij at frtk dot ru 2020-06-03 4:53 ` [Bug tree-optimization/95487] [10/11 Regression] ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 since r10-1052-gc29c92c789d93848 marxin at gcc dot gnu.org 2020-06-03 6:22 ` rguenth at gcc dot gnu.org 2020-06-03 8:56 ` jakub at gcc dot gnu.org 2020-06-03 11:40 ` rguenth at gcc dot gnu.org 2020-06-03 13:37 ` rguenth at gcc dot gnu.org [this message] 2020-06-03 16:59 ` cvs-commit at gcc dot gnu.org 2020-06-03 16:59 ` [Bug tree-optimization/95487] [10 " rguenth at gcc dot gnu.org 2020-06-23 11:06 ` cvs-commit at gcc dot gnu.org 2020-06-23 11:09 ` rguenth 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-95487-4-Qgv5Z1Vx8u@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).