On 9/5/23 15:39, 钟居哲 wrote:
- Why don't we use the normal reverse postorder (or postorder) approach of
computing live ranges? Is that because we don't really need full global
live ranges?
Yes. We don't need global live ranges.
- Why can't we use existing code i.e. tree-ssa-live? I suspect I already
know the answer but an explanation (in a comment) would still be useful.
The existing code can't help I have tried many times.
I would expect it to be fairly hard to use for this purpose. I've tried
to use it in other contexts as well without success.
Jeff