See the two test cases.
; Can fold fcmp with undef on one side by choosing NaN for the undef
; Can fold fcmp with undef on both side
; fcmp u_pred undef, undef -> true
; fcmp o_pred undef, undef -> false
; because whatever you choose for the first undef
; you can choose NaN for the other undef
It would be nice to have LHS on the left and RHS on the right.
I think the comment would be clearer if it mentioned that this simplification will effect fcmp pred undef, x as well.