Follow up of #79101. Adding simplifySelect to visitVP_SELECT does not result in too much modifications.
simplifySelect does not fold vselect(1, T, F) to T. Although we can check if a cond is all ones to achieve this, as a92f5a0 suggests it might be more complex, so I think it is reasonable to place related modifications in a separate PR.
Follow up of #79101. Adding
simplifySelect
tovisitVP_SELECT
does not result in too much modifications.simplifySelect
does not fold vselect(1, T, F) to T. Although we can check if acond
is all ones to achieve this, as a92f5a0 suggests it might be more complex, so I think it is reasonable to place related modifications in a separate PR.