There's reinterpretation, and then there's reinterpretation. The movie really only shares general details and plot arc with the poem. That is, the characters' names are in both, and both are about a hero who fights monsters, becomes king, and dies fighting a dragon.
no subject
But that is mostly it.