https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116098
--- Comment #17 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Thinking about this some more. We maybe should expand factor_out_conditional_operation to handle phis with more than 2 entries. But that won't fix this issue overall but mitigate the issue (again).