CORK, Ireland (AP) — Rory McIlroy says he will play for Ireland in 2016 Olympics .