Collect loads and allocas better in reg2mem