Trace copies when checking for rematerializability in spill weight calculation