On 28/03/12 22:36, Rafael EspĂndola wrote: >> here you can do a dyn_cast<InstrinsicInst>, see IntrinsicInst.h, immediately >> getting hold of the intrinsic. > > Cool. A new patch is attached. LGTM, except that there seems to be a missing space here: } else if(IntrinsicInst... ^ Ciao, Duncan.