Not impossible, but if you can do it you probably often can replace it with a stack allocation.
AFAIK LDC already has a pass that does this, I'm not sure how well it works.
Not impossible, but if you can do it you probably often can replace it with a stack allocation.
AFAIK LDC already has a pass that does this, I'm not sure how well it works.