We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8d18d3 + a84497b commit 71090c2Copy full SHA for 71090c2
docs/SIL.rst
@@ -3746,6 +3746,9 @@ This instruction has the same semantics as ``copy_value`` except that its input
3746
is a trivial ``@sil_unmanaged`` type that doesn't require ref counting. This is
3747
intended to be used semantically as a "conversion" like instruction from
3748
``unmanaged`` to ``strong`` and thus should never be removed by the optimizer.
3749
+Since the returned value is a strong owned value, this instruction semantically
3750
+should be treated as performing a strong copy of the underlying value as if by
3751
+the value's type lowering.
3752
3753
copy_value
3754
``````````
0 commit comments