public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/78664] LRA must honor REG_ALLOC_ORDER to pick reload registers
       [not found] <bug-78664-4@http.gcc.gnu.org/bugzilla/>
@ 2024-03-30  9:19 ` ebotcazou at gcc dot gnu.org
  2024-05-17 15:49 ` vmakarov at gcc dot gnu.org
  2024-05-17 17:05 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2024-03-30  9:19 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
.

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

* [Bug rtl-optimization/78664] LRA must honor REG_ALLOC_ORDER to pick reload registers
       [not found] <bug-78664-4@http.gcc.gnu.org/bugzilla/>
  2024-03-30  9:19 ` [Bug rtl-optimization/78664] LRA must honor REG_ALLOC_ORDER to pick reload registers ebotcazou at gcc dot gnu.org
@ 2024-05-17 15:49 ` vmakarov at gcc dot gnu.org
  2024-05-17 17:05 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2024-05-17 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
During register assignment subpass LRA processes hard regs from
ira_class_hard_regs.  Under the same conditions (e.g. costs), LRA chooses regs
processed first.

ira_class_hard_regs contains regs according REG_ALLOC_ORDER.

LRA has code for balanced use of hard regs (controlled by hook
register_usage_leveling_p).  But now by default it is switched off.  Probably
the issue occurred when the code was switched on. 

To be sure I tried the test case and I was not able to reproduce the problem.

So I think the problem has been solved.

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

* [Bug rtl-optimization/78664] LRA must honor REG_ALLOC_ORDER to pick reload registers
       [not found] <bug-78664-4@http.gcc.gnu.org/bugzilla/>
  2024-03-30  9:19 ` [Bug rtl-optimization/78664] LRA must honor REG_ALLOC_ORDER to pick reload registers ebotcazou at gcc dot gnu.org
  2024-05-17 15:49 ` vmakarov at gcc dot gnu.org
@ 2024-05-17 17:05 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2024-05-17 17:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
OK, thanks for the explanation.

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

end of thread, other threads:[~2024-05-17 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-78664-4@http.gcc.gnu.org/bugzilla/>
2024-03-30  9:19 ` [Bug rtl-optimization/78664] LRA must honor REG_ALLOC_ORDER to pick reload registers ebotcazou at gcc dot gnu.org
2024-05-17 15:49 ` vmakarov at gcc dot gnu.org
2024-05-17 17:05 ` ebotcazou 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).