swift
f7327625 - [loop-rotate] In OSSA, instead of creating address phis, sneak the address through the phi using a RawPointer.

Commit
4 years ago
[loop-rotate] In OSSA, instead of creating address phis, sneak the address through the phi using a RawPointer. In OSSA, we do not allow for address phis, but in certain cases the logic of LoopRotate really wants them. To work around this issue, I added some code in this PR to loop rotate that as a post-pass fixes up any address phis by inserting address <-> raw pointer adapters and changing the address phi to instead be of raw pointer type.
Author
Committer
Parents
Loading