public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/115648] New: [15 Regression] GCN: [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-{2,3}.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression"
@ 2024-06-25 14:14 tschwinge at gcc dot gnu.org
  2024-06-26  1:01 ` [Bug target/115648] " guihaoc at gcc dot gnu.org
  2024-06-26  6:58 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2024-06-25 14:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115648
           Summary: [15 Regression] GCN: [-PASS:-]{+FAIL:+}
                    gcc.dg/hoist-register-pressure-{2,3}.c scan-rtl-dump
                    hoist "PRE/HOIST: end of bb .* copying expression"
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: testsuite-fail
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: ams at gcc dot gnu.org, guihaoc at gcc dot gnu.org
  Target Milestone: ---

Yesterday's commit r15-1575-gea8061f46a301797e7ba33b52e3b4713fb8e6b48 "fwprop:
invoke change_is_worthwhile to judge if a replacement is worthwhile" regresses
GCN target (tested '-march=gfx908'):

    PASS: gcc.dg/hoist-register-pressure-1.c (test for excess errors)
    PASS: gcc.dg/hoist-register-pressure-2.c (test for excess errors)
    [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-2.c scan-rtl-dump hoist
"PRE/HOIST: end of bb .* copying expression"
    PASS: gcc.dg/hoist-register-pressure-3.c (test for excess errors)
    [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-3.c scan-rtl-dump hoist
"PRE/HOIST: end of bb .* copying expression"

There is moderate code generation difference; I can't tell whether before vs.
after is better.  Does the compiler or the test cases or the compiler flags
need to be adjusted?  Re the latter, with '-fno-forward-propagate', we're back
to PASSing.

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

* [Bug target/115648] [15 Regression] GCN: [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-{2,3}.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression"
  2024-06-25 14:14 [Bug target/115648] New: [15 Regression] GCN: [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-{2,3}.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression" tschwinge at gcc dot gnu.org
@ 2024-06-26  1:01 ` guihaoc at gcc dot gnu.org
  2024-06-26  6:58 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: guihaoc at gcc dot gnu.org @ 2024-06-26  1:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from HaoChen Gui <guihaoc at gcc dot gnu.org> ---
The patch replaced rtx cost comparison with insn cost comparison. Some
replacements can be done before but can't now. Or vice versa. Please check the
fwprop dump log via -fdump-rtl-fwprop1-details and judge if the replacements
are benefits or not.

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

* [Bug target/115648] [15 Regression] GCN: [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-{2,3}.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression"
  2024-06-25 14:14 [Bug target/115648] New: [15 Regression] GCN: [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-{2,3}.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression" tschwinge at gcc dot gnu.org
  2024-06-26  1:01 ` [Bug target/115648] " guihaoc at gcc dot gnu.org
@ 2024-06-26  6:58 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-26  6:58 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |15.0
             Target|                            |gcn

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

end of thread, other threads:[~2024-06-26  6:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-25 14:14 [Bug target/115648] New: [15 Regression] GCN: [-PASS:-]{+FAIL:+} gcc.dg/hoist-register-pressure-{2,3}.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression" tschwinge at gcc dot gnu.org
2024-06-26  1:01 ` [Bug target/115648] " guihaoc at gcc dot gnu.org
2024-06-26  6:58 ` 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).