public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111114] New: RISC-V: False combine extend + vcond_mask when modify by vect_recog_over_widening_pattern
@ 2023-08-23  9:37 lehua.ding at rivai dot ai
  2023-08-23 17:46 ` [Bug tree-optimization/111114] RISC-V: Failed " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: lehua.ding at rivai dot ai @ 2023-08-23  9:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111114

            Bug ID: 111114
           Summary: RISC-V: False combine extend + vcond_mask when modify
                    by vect_recog_over_widening_pattern
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lehua.ding at rivai dot ai
  Target Milestone: ---

The vect_recog_over_widening_pattern in vect pass will change:
  v2 = EXTEND (v1)
  v3 = VEC_COND_EXPR (mask, v2, { 1, 1, ... })
to:
  v2 = VEC_COND_EXPR (mask, v1, { 1, 1, ... })
  v3 = EXTEND (v2)
when it is safe. This change looks like no gain for riscv and makes it
impossible to combine them into a MASK_EXTEND in combine pass.

https://godbolt.org/z/PWE4rzr7j

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-24  4:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-23  9:37 [Bug target/111114] New: RISC-V: False combine extend + vcond_mask when modify by vect_recog_over_widening_pattern lehua.ding at rivai dot ai
2023-08-23 17:46 ` [Bug tree-optimization/111114] RISC-V: Failed " pinskia at gcc dot gnu.org
2023-08-24  3:51 ` lehua.ding at rivai dot ai
2023-08-24  4:18 ` pinskia at gcc dot gnu.org
2023-08-24  4:37 ` lehua.ding at rivai dot ai
2023-08-24  4:43 ` pinskia at gcc dot gnu.org
2023-08-24  4:50 ` lehua.ding at rivai dot ai

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).