Rory McIlroy's Olympic dilemma could be solved by the International Olympic Committee stipulating he has to play for Ireland.