SelectionDAG: Match min/max if the scalar operation is legal