On Jul 27, 2012, at 6:48 PM, Andrew Trick <atrick at apple.com> wrote: > + // Check here if there are any others... > + if (llvm::next(MRI.def_begin(Reg)) == MRI.def_end()) > + return; Manman added MRI->getUniqueVRegDef(), but a MRI->hasOneDef() would also make sense. /jakob