This change requires D11536 and D11554. It is still a proof-of-concept for the
following two reasons:
- We did not yet instrument the calls in the RegionGenerator that can possibly introduce stack allocated memory
- It would be nice to find a less intrusive solution, e.g. by just looking at the memory locations in the polyhedral model. With our recent change to distinguish PHI and normal scalar memory, this may be possible.