[Bug middle-end/111732] genmatch missed optimization

2023-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111732

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||internal-improvement
   Last reconfirmed||2023-10-10
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
   Severity|normal  |enhancement

--- Comment #3 from Andrew Pinski  ---
.

[Bug middle-end/111732] genmatch missed optimization

2023-10-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111732

--- Comment #2 from Richard Biener  ---
(In reply to Richard Biener from comment #1)
> Created attachment 56079 [details]
> start of a patch
> 
> Start of a patch.  Still has duplicate case values (dt tree insertion) and
> missed for ID passing to the tail functions.

Overall effect isn't too big - the biggest limitation is likely failure to
factor outermost fors (or rather giving up on any delaying when the outermost
match expression needs to be for-lowered rather than deciding on an operator
basis).

[Bug middle-end/111732] genmatch missed optimization

2023-10-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111732

--- Comment #1 from Richard Biener  ---
Created attachment 56079
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56079=edit
start of a patch

Start of a patch.  Still has duplicate case values (dt tree insertion) and
missed for ID passing to the tail functions.