Rory McIlroy and his wife, Erica, are headed to Splitsville ... TMZ Sports has learned the PGA Tour star just filed for divorce.
Court records show the 35-year-old golfer submitted the documents in Florida on Monday ... some seven years after the couple first tied the knot.