Skip to content

Commit 1d23ebf

Browse files
authored
Merge pull request #27234 from apple/vg-sil-docs
2 parents 4dac0d1 + 2255e81 commit 1d23ebf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/SIL.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ the Swift programming language. SIL accommodates the following use cases:
1717
such as definitive initialization of variables and constructors, code
1818
reachability, switch coverage.
1919
- High-level optimization passes, including retain/release optimization,
20-
dynamic method devirtualization, closure inlining, memory allocation promotion,
21-
and generic function instantiation.
20+
dynamic method devirtualization, closure inlining, promoting heap allocations
21+
to stack allocations, promoting stack allocations to SSA registers, scalar
22+
replacement of aggregates (splitting aggregate allocations into multiple
23+
smaller allocations), and generic function instantiation.
2224
- A stable distribution format that can be used to distribute "fragile"
2325
inlineable or generic code with Swift library modules, to be optimized into
2426
client binaries.

0 commit comments

Comments
 (0)