Code for lddynamic written. BBs not tranlated correctly into IR.