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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-09-25
          Component|tree-optimization           |rtl-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
switches sometimes end up as decision tree - that's also not too good to
capture
common state transitions.  So eventually detecting the "pattern" might help
deciding between a jump-table and a decision tree as well.

Confirmed.  Only applies to the jump-table variant.

It's also more RTL than GIMPLE level optimization since jump-tables
only appear during RTL expansion.

Reply via email to