Rory McIlroy had to get up and down from 45 yards on the 18th hole to make the cut at the Memorial Tournament.