ensure ir::Blocks are linked together