~/talk

SIL for First Time Learners

github:kitasuke
slides:none on file

SIL is Swift’s language-specific intermediate representation that sits between AST and LLVM IR and shows concrete transformations like removes unused local stores, converts local variables into direct returns under -O, and annotates optimized instructions with changed constants. The examples emit raw SIL then optimized SIL so numbers and instructions differ, demonstrating actual optimizer passes and flags (including upcoming Swift 4.1 options), and pointers to the Swift repo and earlier talks give next steps for hands-on investigation.

AI-written summary · about

  1. 0:00Intro
  2. 1:10Why SIL?
  3. 2:22Swift Compiler
  4. 2:51sample.swift
  5. 3:34Emit SIL with
  6. 4:30Diff
  7. 5:13Optimization flag
  8. 5:29Summary
  9. 6:11References
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.