https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116649
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #3)
> There are way more places we could usefully generate set[n]bc[r] insns. For
> example, consider
>
> int f(int a, int b, int x) { return a < b ? x+5 : x+6; }
>
> We currently generate a branchy thing for that, I actually expected an isel
> thing, but we could likely do better with setbc even.
>
> So if you find anything more, please let us know!
The factoring out `x+*` out of the conditional is recorded as PR 89018 (and a
few others); but the other part converting from isel to setbc might be a
different issue.