File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -392,16 +392,25 @@ Optimize semantics attribute
392392~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
393393
394394The optimize attribute adds function-specific directives to the optimizer.
395-
396395The optimize attribute supports the following tags:
397396
398- sil.specialize.generic.never
397+ optimize. sil.specialize.generic.never
399398
400- The sil optimizer should never create generic specializations of this function.
399+ Disable generic specializations of this function.
401400
402401optimize.sil.specialize.generic.partial.never
403402
404- The sil optimizer should never create generic partial specializations of this function.
403+ Disable create generic partial specializations of this function.
404+
405+ optimize.sil.specialize.generic.size.never
406+
407+ Disable generic specializations of this function when optimizing for code
408+ size (-Osize).
409+
410+ optimize.sil.specialize.owned2guarantee.never
411+
412+ Disable function signature optimization which converts an "owned" to a
413+ "guaranteed" function parameter.
405414
406415Availability checks
407416~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments