Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/HighLevelSILOptimizations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ array.props.isCocoa/needsElementTypeCheck -> Bool
Reads storage descriptors properties (isCocoa, needsElementTypeCheck).
This is not control dependent or guarded. The optimizer has
semantic knowledge of the state transfer those properties can not make:
An array that is not ``isCocoa`` can not tranfer to ``isCocoa``.
An array that is not ``isCocoa`` can not transfer to ``isCocoa``.
An array that is not ``needsElementTypeCheck`` can not transfer to
``needsElementTypeCheck``.

Expand Down Expand Up @@ -228,7 +228,7 @@ array.mutate_unknown
dependent. ``mutate_unknown`` also implies the guarding semantics of
``make_mutable``. It is not itself guarded by ``make_mutable`` and
may act as a guard to other mutating operations, such as
``get_element_address``. Combining semantics allows the flexbility in how
``get_element_address``. Combining semantics allows the flexibility in how
the array copy is implemented in conjunction with implementing
mutating functionality. This may be more efficient than cleanly
isolating the copy and mutation code.
Expand Down