public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/46555] New: PHI RTL expansion leads to CSiBE regression
@ 2010-11-19  8:39 hubicka at gcc dot gnu.org
  2010-11-19 10:57 ` [Bug middle-end/46555] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hubicka at gcc dot gnu.org @ 2010-11-19  8:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46555

           Summary: PHI RTL expansion leads to CSiBE regression
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hubicka@gcc.gnu.org


Created attachment 22452
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22452
testcase (OpenTCP-1.0.4/icmp.c)

Hi,
the problem here seems to be worse regalloc and also
  # D.4060_6 = PHI <-1(2), -1(9), -1(11), -1(14), 0(15), -1(10)>
used to be optimized into since set of var to -1 (4 bytes), while now we
produce 3 different copies. 

Crossjumping would unify it, but very late in the game. The problem is that
ifcvt actually moves the set before conditoinal guarding the BB in question, so
the individual sets are drifted earlier to different places in the program.

Doing so might also complicate the regalloc.

Michael, perhaps we can tell out-of-ssa to unify such cases?  They are not that
infrequent (and I think old tree based out-of-ssa did that?)


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

end of thread, other threads:[~2023-07-07 10:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-19  8:39 [Bug middle-end/46555] New: PHI RTL expansion leads to CSiBE regression hubicka at gcc dot gnu.org
2010-11-19 10:57 ` [Bug middle-end/46555] " rguenth at gcc dot gnu.org
2021-05-14  9:46 ` [Bug middle-end/46555] [9/10/11/12 Regression] " jakub at gcc dot gnu.org
2021-06-01  8:05 ` rguenth at gcc dot gnu.org
2021-09-05 22:35 ` pinskia at gcc dot gnu.org
2022-05-27  9:34 ` [Bug middle-end/46555] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:29 ` jakub at gcc dot gnu.org
2023-03-16  0:01 ` pinskia at gcc dot gnu.org
2023-06-14  5:31 ` [Bug middle-end/46555] [10/11/12/13/14 " pinskia at gcc dot gnu.org
2023-07-07 10:29 ` [Bug middle-end/46555] [11/12/13/14 " rguenth at gcc dot gnu.org

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