private BranchInstruction makeProperBranch(Cmp c, BasicBlock t) {
        switch (c.getType()) {
        case eq:
            return new Bne(t);
        case neq:
            return new Beq(t);
        case lt:
            return new Bge(t);
        case lte:
            return new Bgt(t);
        case gt:
            return new Ble(t);
        case gte:
            return new Blt(t);
        default:
            return null;
        }
    }