[llvm-commits] [llvm] r160910 - /llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jul 27 19:27:53 PDT 2012


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





More information about the llvm-commits mailing list