Skip to content

Commit 5a5d727

Browse files
authored
Update DifferentiableProgrammingImplementation.md
1 parent b54b915 commit 5a5d727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/DifferentiableProgrammingImplementation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Here is a description of the main phases in compilation:[†](https://www.swift.
128128
- **Parsing**: The parser takes Swift source code and generates an abstract syntax tree (AST) without type information. Warnings and errors are produced for grammatical problems in source code.
129129
- **Type checking**: The type checker takes the parsed AST and transforms it into a fully type-checked form, performing type inference. Warnings and errors are produced for semantic problems in source code.
130130
- **SIL generation**: The Swift Intermediate Language (SIL) is a high-level intermediate language for Swift suitable for analysis and optimization. The SIL generation phase lowers the type-checked AST into ["raw" SIL](SIL.rst#silgen).
131-
- **SIL mandatory passes**: The SIL mandatory passes perform analyses that diagnose user errors and lower to "canonical" SIL, including data flow diagnostics and mandatory inlining.
131+
- **SIL mandatory passes**: The SIL mandatory passes perform analyses (diagnosing user errors) and lowering (down to canonical SIL).
132132
- **SIL optimizations passes**: The SIL optimization passes perform additional high-level optimizations to SIL.
133133
- **LLVM IR generation**: IR generation lowers SIL to LLVM IR. LLVM performs further optimizations and generates machine code.
134134

0 commit comments

Comments
 (0)