~/talk

Towards Removing Undef Values from LLVM IR

Talkat PLDI 2026 · 2026-06-15..06-19· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

LLVM adds a new byte type and a freezing load that let uninitialized memory become poison instead of undef, fixing raw-copy and bitfield miscompilations. Alive2 finds 136 miscompilations today; 25 (≈18%) become correct if undef vanishes and the prototype already fixes 11 tests (≈8%) with no new failures. Benchmarks show ~0.8% average run-time regression (worst ≈4%) reduced to ~0.2% after simple folds, compile-time impact ≈0.2%, and the first patch is upstreamed.

AI-written summary · about

  1. 0:00Undef in LLVM IR
  2. 1:07Undef causes miscompilations
  3. 3:31Removing undef challenges
  4. 7:01Byte type for raw memory
  5. 10:35Freezing loads for bit fields
  6. 11:17Evaluating byte type and freezing
  7. 12:45Performance impact of optimizations
  8. 14:29Upstreaming progress
  9. 15:33Q&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.