The problem is this: for any monster, except possibly those of the lowest CR, that features damage resistance (or immunity etc), like this...
Resistances bludgeoning, piercing, and slashing damage from nonmagical attacks
...this trait is essentially fluff, unless you run a non-standard low magic campaign.
I would say the probability of a golem or devil actually benefiting from damage resistance against level-appropriate heroes is very low or even non-existing. Almost every adventure I've seen for 5e will have handed out a magic weapon by level 5 or so. Bothering to tell us Iron Golems or Pit Fiends or Kraken need magic weaponry to be damaged fully is basically a joke.