peephole optimizer will be suitable for optimizing the output of the global optimizer. In particular, it doesn't change the register messages.
Changed register message output to terminate with ms_gto, if input procedure contained one.