LONDON — Irish chanteuse Sinead O’Connor has waded into the Miley Cyrus controversy, warning the young singer to avoid being sexually exploited by the industry.

O’Connor posted an open letter to Cyrus on Thursday after Cyrus told journalists she had modeled her “Wrecking Ball” video on O’Connor’s “Nothing Compares 2 U.”

She warned the former “Hannah Montana” star that it would be self-defeating to market her sexuality.

“I am extremely concerned for you that those around you have led you to believe, or encouraged you in your own belief, that it is in any way ‘cool’ to be naked and licking sledgehammers in your videos,” O’Connor wrote.

She also cautioned Cyrus that the music business will exploit, then abandon her.

The advice didn’t sit well.

Cyrus responded by mentioning O’Connor’s struggles with bipolar disorder.

In a reference to troubled actress Amanda Bynes, who has been treated in a psychiatric hospital in California, Cyrus tweeted: “Before Amanda Bynes … There was …” and posted O’Connor’s own tweets about seeking psychiatric help.