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
392
392
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
393
393
394
394
The optimize attribute adds function-specific directives to the optimizer.
395
-
396
395
The optimize attribute supports the following tags:
397
396
398
- sil.specialize.generic.never
397
+ optimize. sil.specialize.generic.never
399
398
400
- The sil optimizer should never create generic specializations of this function.
399
+ Disable generic specializations of this function.
401
400
402
401
optimize.sil.specialize.generic.partial.never
403
402
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.
405
414
406
415
Availability checks
407
416
~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments