On May 29, 2009, at 11:57 PM, John McCall wrote: > If the value is created within the block but the block loops to > itself, you can get away with a very slight adjustment: > > if (cast<Instruction>(ui)->getParent() != I_BB && !isa<PHINode>(ui)) Correction: this should read: if (cast<Instruction>(ui)->getParent() != I_BB || isa<PHINode>(ui)) John.