Performance improvements linear regAlloc (#7258)