amend
Simplify reg2mem pass