GREENSBORO, N.C. -- Harrison Barnes ignored all the doubters, the questions about his game, even the bumpier-than-expected start to his career at North Carolina.

Those days felt long ago Saturday as the freshman put on a record-setting show that helped the Tar Heels (No. 7 ESPN/USA Today, No. 6 AP) escape once again at the Atlantic Coast Conference tournament.

Barnes set a freshman tournament record with 40 points to help North Carolina rally past Clemson 92-87 in overtime in the semifinals, sending the Tar Heels back to the championship game for the first time in three years.

Barnes hit the go-ahead 3-pointer with 4:13 left as part of a 9-0 spurt to open the extra period for top-seeded North Carolina (26-6), which continued its living-dangerously run in Greensboro with another big comeback. A day after rallying from 19 down in the final 10 minutes to beat Miami, the Tar Heels trailed the Tigers (21-11) by 14 in the first half and rallied from seven down in the final 4 minutes of regulation to force overtime.

"My goal was to be in the final," Barnes said. "This is not how I imagined us doing it, but we find a way."

The Tar Heels have won 19 of 21 games since losing to Texas on a last-second shot in December here. They're now a win away from their 18th ACC tournament title, which would tie Duke for most all-time. They face the Virginia Tech-Duke winner in Sunday's final.

Barnes finished 12 of 17 from the floor and went 10 for 11 from the foul line, capping his day with two free throws with 8.3 seconds left and the Tar Heels ahead 90-87.

His 40 points also tied former UNC great Tyler Hansbrough for the league's freshman scoring record in any game, stood as the first time a player had scored 40 in the tournament since Wake Forest's Randolph Childress in 1995 and was the most by a North Carolina player in the tournament since Charles Scott had 41 in the 1970 quarterfinals.