[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 --- Comment #4 from Andrew Pinski --- Actually this is what we have before expand: ``` if (_2 > _5) goto ; [50.00%] else goto ; [50.00%] ... if (v$2_7 < v$1_28) goto ; [33.33%] else goto ; [66.67%] [local count: 53687

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 --- Comment #3 from Andrew Pinski --- Note this has nothing to do with returns in this case really, as there are no return value for this function (returns register allocation has been improved in recent years though).

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2023-09-11 00:00:00 | Summary|conditional "