2011/8/11 Georg-Johann Lay <a...@gjlay.de>:
> This is an optimization in machine dependent reorg to
> remove redundant comparisons like in
>
>   cc0 = compare (Reg, Num)
>   if (cc0 == 0)
>     goto L1
>
>   cc0 = compare (Reg, Num)
>   if (cc0 > 0)
>     goto L2
>
> The second comparison is redundant an can be removed.
> Code like this can be seen in binary decision switch/case
> expansion.
>
> Passed without regressions.
>
> Ok to install?

Please, commit.

Denis.

Reply via email to