Expand description
Block deduplication pass.
Identifies structurally identical non-fallthrough blocks (same opcode + immediate sequence) and eliminates duplicates by marking them as dead code and redirecting predecessors to a single canonical copy.
Structsยง
- Dedup
Key ๐ - Dedup key: instruction-level structural fingerprint, CFG successor blocks, and terminator jump kind.
Functionsยง
- block_
fingerprint ๐ - Builds a structural fingerprint of a block from instruction data, without consulting the raw bytecode.