Calvin Harris says he is "blessed" to have worked with Taylor Swift.

Calvin Harris and Taylor Swift

Calvin Harris and Taylor Swift

Although the former couple had a bitter break-up earlier this year, Calvin, 32, praised Taylor, 26, on Twitter for writing his song 'This Is What You Came For', which features Rihanna on vocals.

After a Rihanna fan account tweeted, "This Is What You Came For is the only song released this Year to be certified 2x platinium in the UK congrats @CalvinHarris and @rihanna (sic)," Calvin quoted the message and wrote: "I am blessed to work with incredible artists @rihanna @taylorswift13 thank you!!! (sic)."

The track sparked a row between Taylor and Calvin after they split in May, as weeks later it was reported the 'Shake It Off' hitmaker was the person behind songwriter pseudonym Nils Sjoberg.

And after representatives for the singer - who struck up a romance with Tom Hiddleston soon after splitting from the Scottish DJ - confirmed her involvement, Calvin took to Twitter to slam her for trying to "tear [him] down".

He wrote: "And she sings on a little bit of it too. Amazing lyric writer and she smashed it as usual.

"Hurtful to me at this point that her and her team would go so far out of their way to try and make ME look bad at this stage though

"I figure if you're happy in your new relationship you should focus on that instead of trying to tear your ex bf down for something to do

"I know you're off tour and you need someone new to try and bury like Katy ETC but I'm not that guy, sorry. I won't allow it

"Please focus on the positive aspects of YOUR life because you've earned a great one

"God bless everyone have a beautiful day (sic)".

Calvin brought Rihanna in to record the vocals on the song as he and Taylor- who dated for 15 months - feared their relationship would overshadow the track if they released it together.

However, they split in May and the so-called "breaking point" in their romance reportedly came after he was "disrespectful" by saying he'd never work with her while promoting the track.