Optimize out clearing MV register for procedures that do not call other procedures