Skip to content

Commit ca370fa

Browse files
authored
Update DifferentiableProgrammingImplementation.md
1 parent 66b9bdc commit ca370fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/DifferentiableProgrammingImplementation.md

Lines changed: 1 addition & 1 deletion
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.
131-
- **SIL mandatory passes**: The SIL mandatory passes perform analyses and transformations that affect program correctness, including data flow diagnostics and mandatory inlining. The result is “canonical” SIL.
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.
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)