~/lightning

Lightning Talk Slot #2: An SSA-based Register Allocator for GHC

Lightningat HIW 2022 · on Sunday, 2022-09-11· [compilers-and-language-design]
links:none on file
slides:none on file

Prototype SSA-based allocator for GHC NCG is built from two Castle University papers with a separate spilling phase and combined coloring/coalescing, compared against linear-scan and legacy graph-coloring. Evaluation uses static spill-code counts and runtime benchmarks: overall code is about 0.5% slower, but some benchmarks show up to 60% slowdown and a 25% hotspot slowdown tied to spilling a critical live range. Experiments find loop-invariant spills can be hoisted and that renumbering (a “Chaitin” variant) reduces static spills, so work on spill heuristics and hoisting is the next step.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54Interference graphs
  3. 1:33Design
  4. 1:55Benchmark
  5. 2:11Results
  6. 2:45Spellcode counts
  7. 3:17Runtime results
  8. 3:47Shootout Academy
  9. 4:22Scatter Plot
  10. 4:33Imaginary Kahan
  11. 6:35Outro
~/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.