~/talk

Range-Analysis-Based Optimization for SML/NJ

Talkat ML 2025 · on Monday, 2025-11-24· [compilers-and-language-design, web-performance]
links:none on file
links:none on file
slides:none on file

Range analysis runs on SML/NJ’s CPS IR using extended SSA in CPS and interval constraints to prove when overflow and array-bounds checks are unnecessary, with a hypergraph-based solver that applies SCC decomposition plus widening/narrowing. The implementation targets SML/NJ 2025.2 using LOVM, treats array lengths as symbolic bounds, falls back to LU for escaping calls, and uses an unsigned-comparison trick for subscripts; a microbenchmark shows a 57% speedup on 250k element array summation.

AI-written summary · about

  1. 0:00Introduction
  2. 2:11Range analysis history
  3. 5:01Extended SSA and CPS
  4. 6:49Interval lattice basics
  5. 9:59Abstract bounds and constraints
  6. 12:48Constraint generation
  7. 16:20Function join constraints
  8. 19:09Solving constraints
  9. 23:49Analysis for optimizations
  10. 26:21Implementation in SML/NJ 2025.2
  11. 27:47Future optimizations
  12. 28:10Q&A
~/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.