Configure two versions of TLS in the same bind filtering by ip

How can I configure in haproxy 2 versions of tls in a frontend and in the same bind filtering by address ip, so that some clients connect with tlsv1.0 and the others with tlsv1.2?