Skip to main content

peephole

Function peephole 

Source
pub fn peephole(program: &mut CompiledProgram)
Expand description

Run the peephole to a fixpoint, in place. Copy-propagate once (a single forward pass fully resolves within-block chains, because the copy map stores roots), then iterate liveness + dead-move elimination until no move is removed.