Hi,
>        Lo = new TruncInst(Lo_pn, ValTy, "", entry);
> -    }
> +    } else
> +      Lo = Lo_pn;
>      // Determine if the replacement bits are larger than the number of bits we
the usual style is to use braces for one-liners if other
parts of the "if" use braces:
> -    }
> +    } else {
> +      Lo = Lo_pn;
> +    }
Ciao,
Duncan.