In the 1982 film Conan the Barbarian, Conan tells his friend Subotai, when they are talking about their respective gods, that if he (Conan) dies, he will find himself standing before Crom and will be asked by Crom if he has learned the riddle of steel. If he does not know it Crom will laugh at him and cast him out of Valhalla. I believe Valhalla was from Norse mythology and I have read some of the original Conan stories by Robert E. Howard and I don't remember any references to Valhalla. Was this an invention of screenwriter Oliver Stone? Did Robert E. Howard ever describe Conan's religion and did he mix it up with Viking beliefs?
It was definitely contrary to Robert Howard's Conan canon - as per "Queen of the Black Coast", Conan himself knew the difference between Crom and Norse gods (called Nordheimer's in-universe) and it's the latter that have Valhalla.
(in response to "What do you believe, Conan?") He shrugged his shoulders. "I have known many gods. He who denies them is as blind as he who trusts them too deeply. I seek not beyond death. It may be the blackness averred by the Nemedian skeptics, or Crom's realm of ice and cloud, or the snowy plains and vaulted halls of the Nordheimer's Valhalla.
This is extra relevant because that story was a big influence on the movie (including Bêlit being an influence on Valeria).
There's no direct in-universe explanation for why he used the wrong term in the movie, but there are 2 plausible reasons:
In-universe, Conan generally could care less about gods and stuff. So it's in-character for him to not care too much about finer theological details.
"Crom! I have never prayed to you before. I have no tongue for it" ... "then to hell with you" ("Conan the barbarian" film)
"I know not, nor do I care. Let me live deep while I live; let me know the rich juices of red meat and stinging wine on my palate, the hot embrace of white arms, the mad exultation of battle when the blue blades flame and crimson, and I am content. Let teachers and priests and philosophers brood over questions of reality and illusion. ..."
"Queen of the Black Coast"
No proof of it, but the scriptwriters probably figured out that it would sound cool and exotic, yet familiar to moviegoing audiences.
As you see in the quote above, he also uses the word "hell" despite it being specific to Christianity.
Ironically, that now seems to be in-universe with the franchise creators. From article about "Legend of Conan":
Discussing the project with the site, producer Fredrik Malmberg, who is producing the new movie and owns the rights to Conan through his Paradox Entertainment banner, said, "The original ended with Arnold on the throne as a seasoned warrior, and this is the take of the film we will make. It’s that Nordic Viking mythic guy who has played the role of king, warrior, soldier and mercenary, and who has bedded more women than anyone, nearing the last cycle of his life. He knows he’ll be going to Valhalla, and wants to go out with a good battle."
I'm currently reading through the Complete Chronicles of Conan myself. I'm not finished all of them yet, but I haven't seen any references to Valhalla or any other Norse mythology as yet. What Conan has said about his own religion has been entirely original, as far as I can tell. Crom is some sort of vengeful god who lives underneath a large mountain, and I gather that the afterlife Cimmerians expect to go to is also underground. Crom does seem to respect those who win glory in battle and die valiantly (which seems Norse-mythology-ish to me), and Cimmeria is to the north of most other nations, so I'm guessing that's why the director and/or writers of the movie drew connections with Norse mythology.
That being said, Conan (and several other characters) do make reference to "the devil" in a manner similar to Christian use. They've never used names like "Satan" or any other explicit Christian names, only "the devil," so it could reasonably be argued that he's referencing some other kind of devil that is a part of the in-universe religions.
A peculiar prickling made itself manifest among the short hairs at the base of Conan's scalp.
"Muriela!" he shouted suddenly. "Muriela! Where the devil are you?"
- Jewels of Gwahlur, chapter 3
It could also be reasoned that this was simply how people spoke in the time when Howard was writing, and so he didn't think much of including this sort of dialogue.