So this is blatantly taken from the 3.5 "Outside White Plume Mountain", but rearranged to fit 5e. Since the greatsword's abilities relied heavily upon its critical hits, I thought it best to keep that function. So here we go...
Frostrazor
Weapon (greatsword), legendary (requires attunement)...