public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/68274] __builtin_unreachable pessimizes code
       [not found] <bug-68274-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-21 20:01 ` pinskia at gcc dot gnu.org
  2022-03-16 13:01 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-21 20:01 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |102008
           Severity|normal                      |enhancement
          Component|tree-optimization           |rtl-optimization

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note I think the underlying issue is recorded in PR 102008.
Also note aarch64 produces a csel for both case.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102008
[Bug 102008] [12 Regression] no cmov generated for loads next to each other

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

* [Bug rtl-optimization/68274] __builtin_unreachable pessimizes code
       [not found] <bug-68274-4@http.gcc.gnu.org/bugzilla/>
  2021-08-21 20:01 ` [Bug rtl-optimization/68274] __builtin_unreachable pessimizes code pinskia at gcc dot gnu.org
@ 2022-03-16 13:01 ` rguenth at gcc dot gnu.org
  2023-06-07  3:13 ` pinskia at gcc dot gnu.org
  2023-06-07 13:21 ` matt at godbolt dot org
  3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-16 13:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68274
Bug 68274 depends on bug 102008, which changed state.

Bug 102008 Summary: [12 Regression] no cmov generated for loads next to each other
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102008

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug rtl-optimization/68274] __builtin_unreachable pessimizes code
       [not found] <bug-68274-4@http.gcc.gnu.org/bugzilla/>
  2021-08-21 20:01 ` [Bug rtl-optimization/68274] __builtin_unreachable pessimizes code pinskia at gcc dot gnu.org
  2022-03-16 13:01 ` rguenth at gcc dot gnu.org
@ 2023-06-07  3:13 ` pinskia at gcc dot gnu.org
  2023-06-07 13:21 ` matt at godbolt dot org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-07  3:13 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 13 by vrp2 removing the __builtin_unreachable at that point and
allowing a later phiopt to do the job.

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

* [Bug rtl-optimization/68274] __builtin_unreachable pessimizes code
       [not found] <bug-68274-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2023-06-07  3:13 ` pinskia at gcc dot gnu.org
@ 2023-06-07 13:21 ` matt at godbolt dot org
  3 siblings, 0 replies; 4+ messages in thread
From: matt at godbolt dot org @ 2023-06-07 13:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Matt Godbolt <matt at godbolt dot org> ---
Amazing: thank you Andrew!

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

end of thread, other threads:[~2023-06-07 13:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-68274-4@http.gcc.gnu.org/bugzilla/>
2021-08-21 20:01 ` [Bug rtl-optimization/68274] __builtin_unreachable pessimizes code pinskia at gcc dot gnu.org
2022-03-16 13:01 ` rguenth at gcc dot gnu.org
2023-06-07  3:13 ` pinskia at gcc dot gnu.org
2023-06-07 13:21 ` matt at godbolt dot 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).