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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2020-04-13 00:00:00         |2021-6-14

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I wonder if we should always convert if-cases to switches and then do
switchconv and then lower the smaller ones (3 if max) right after switchconv
and then lower the rest in late as we do right now.  This should get the conv1
case.

The conv2 case problem is don't sink until late and never redo switchconv.

So here is the proposed pipeline:
iftoswitch - change to do it even without an heurstics
sink
switchconv
switchlower - early

Reply via email to