linear-scan

Tag

Cards List
#linear-scan

Linear scan register allocation in Datalog

Hacker News Top ↗ · 5d ago Cached

A blog write-up of a full linear scan register allocator implemented in Datalog, co-developed with Yannis Smaragdakis at PLDI, demonstrating both where Datalog excels (liveness, basic blocks) and where it struggles (sequential interval eviction, forall emulation).

0 favorites 0 likes
#linear-scan

rat's minimal register allocator

Lobsters Hottest ↗ · 2026-10-07 Cached

The author of the 'rat' compiler backend describes replacing a 1392-line linear scan register allocator with a 584-line priority bin-packing allocator in the family of LLVM's greedy allocator, which produces better code and naturally keeps call-crossing values in callee-saved registers.

0 favorites 0 likes
← Back to home

Submit Feedback