Jakub Florek
d2cd281d4c
Revert "Merge pull request #84045 from MAJKFL/new-sil-licm-pass-copy-ownership"
...
This reverts commit a5c6156525 , reversing
changes made to 2b6ea81b9e .
2025-09-17 15:52:48 +01:00
Jakub Florek
df24019195
Rename Cloner.cloneRecursivelyToGlobal.
2025-09-10 16:18:50 +01:00
Erik Eckstein
b8a49692eb
Optimizer: add TypeSubstitutionCloner and func cloneAndSpecializeFunction
...
Also move `func cloneFunction` from ContextCommon.swift to OptUtils.swift
2025-09-04 08:15:45 +02:00
Erik Eckstein
231042b9a8
SIL: some Cloner cleanups and improvements
...
* move some Cloner utilities from ContextCommon.swift directly into Cloner.swift
* add an `cloneRecursively` overload which doesn't require the `customGetCloned` closure argument
* some small cleanups
2025-09-04 08:15:45 +02:00
Jakub Florek
e3140e0ae0
Add new generalized cloner.
2025-08-28 20:57:57 +01:00