usually means its literal meaning: “a person who has a desire to commit suicide.” Although anything can be used in an ironic way, I do not think that it is particularly common to use this word ironically.
I have seen the word or similar words in a derogatory sense, “a person who does such a stupid and dangerous thing that it cannot be explained unless he/she wants to kill him/herself.”