Similar to a year ago, Federer came back during grass season, but went out in the first round at the Mercedes tournament in Stuttgart, an event he's surprisingly never won.
Raonic rescued a break point to serve out the first set after edging in front early on, before winning a tie-break easily in the second.
Kyrgios grabbed a fast 2-0 lead after unleashing a flying forehand pass on the stretch but Federer rallied back to move 5-4 ahead before a flicked effort at the net confirmed his place in the final 6-7 (2-7) 6-2 7-6 (7-5).
But, if he wants to stay at the top of the heap for Wimbledon, he will have to win the tournament in Halle, Germany next week.
"It's a really positive step forward for me".
In a decisive tiebreak after no breaks in the second set, a double fault from Raonic paved the way for Federer, playing his first tournament in 11 weeks after giving the claycourt campaign a miss, to claim victory.
"I've played good tennis this week", Raonic said. "It was close and it could have gone either way naturally but I am happy that I have got it and got back to world No. 1 next Monday". A win on Sunday will give the Swiss legend his 98th ATP title, nine titles behind Jimmy Connors, one of the few records Federer doesn't own (yet).
"I was hoping to play a couple matches here but I have played four and won them all".
Federer also won their quarterfinal a year ago at Wimbledon while Raonic took their 2016 semifinal meeting at the All-England Club. But I'm happy I got it and get back to World No.1 next Monday, so it's very exciting.
It will be Raonic's first final since the 2017 Istanbul Open.
An armed man is dead and two others are injured after a shooting at the Walmart in Tumwater about 5 p.m. But others are saying that he was definitely inside the store and fired some shots at a display case .
Manafort turned around briefly to wave to his wife before heading out a door at the back of the crowded courtroom, witnesses said. Mr Manafort has long-standing ties to a pro-Russian political party in Ukraine and a Russian oligarch close to the Kremlin.
He said his deputies are often involved in chases pursuing people suspected of smuggling undocumented immigrants and drugs. He said the pursuit was the result of "good police work", and gave his support for the construction of a border wall .
Kansas City police have fatally shot a woman who barricaded herself in a shed for hours after she was seen outside with a sword. KSHB-TV reports the two deputies were transporting prisoners around 11:30 a.m. when they were "overcome" and were shot.
The Broward County Sheriff later tweeted that they had responded to "an incident regarding a shooting" in Deerfield Beach . Kanye West said he was "inspired" by XXXTentacion and added "thank you for existing". "RIP X", he tweeted.
Sky Sports have ranked all 20 clubs in terms of who has the most hard set of fixtures to open the 2018/19 season. Jose Mourinho is furious about the scheduling of some of Liverpool's Premier League games next season.
More from the AP: "Trump's repeated, but nonspecific references to a Democratic law appear to involve one enacted in 2008". Miller, who is Jewish, argued in White House meetings that the new policy would deter illegal immigration.
"The pressure is at its highest, and it's just one of those tournaments that's very hard to play well and win". Piercy's day was not without regrets, especially when he three-putted from 4 feet for bogey on the par-5 16th.
The Boring Company released Wednesday renderings of what the underground system and rail cars would look like. The company and city officials will enter negotiations to bring the Loop transit system to Chicago .
Ronaldo and Portugal look to eliminate Morocco
It's great news for subscribers of the theory that for a World Cup to be successful, you need the host nation to progress. He spent half a decade in the Bundesliga, where he never scored double-digit goals in a single league campaign.
Portugal win 1-0, Morocco ousted
With the "Fubo Premier" bundle, you will get access to all four of the World Cup soccer TV channels in most markets. Sign up now for a free seven-day trial.
Duchess Meghan makes first joint appearance with queen
Meghan Markle , Duchess of Sussex , joined Queen Elizabeth for her first royal engagement without her husband, Prince Harry . The Queen's broad and very youthful looking smile suggested genuine delight at having Meghan at her side though.
Audi CEO Rupert Stadler arrested over Dieselgate
Auto industry expert Ferdinand Dudenhoeffer of the vehicle research centre called the allegations against Stadler "very serious". Investors have accused the company of informing investors too late about the probe, a view the vehicle maker has contested.
Most Americans oppose immigrant family separation
Susan Collins of ME said she favors tighter border security, but expressed deep concerns about the child separation policy. The president also continued to blame Democrats, tweeting in all caps "CHANGE THE LAWS!" "It is immoral.
Uruguay sinks Egypt with late goal
Mohamed Salah , a national hero, jokingly said he would be keen to score at the Russian Federation finals to silence Abdel-Ghani. Despite being two-time champions, Uruguay hadn't won their first group stage match since 1970, drawing three and losing three.
Kawhi Leonard Wants Trade From Spurs; Lakers Top His List
Part of the meeting would include discussions over the $219 million supermax extension the Spurs could offer Leonard this summer. The Heat could also include a first-round draft pick, but they sort of have their hands tied when it comes to that.