Commit Graph

2 Commits

Author SHA1 Message Date
Erik Eckstein
70ba193cd4 SIL: handle drop_deinit in WalkUtils
Also, handle some other missing instructions in the AddressDefUseWalker, which are visited in the AddressUseDefWalker.

This enables various other optimizations, like copy elimination, in the presence of `drop_deinit`.

rdar://152307747
2025-06-05 14:13:51 +02:00
Erik Eckstein
9a7bcbe2c9 tests: add a test which checks that only a minimal ARC operations are generated
This is the case for the test since we enabled OSSA modules.
rdar://143691773
2025-02-07 17:07:18 +01:00