gen: remove cmp+branch optimization; moved to opt branch