Fix for phinodes, loads, and stores.  Also fix for iids