[llvm-commits] [llvm] r134309 - /llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jul 1 22:59:00 PDT 2011


On Jul 1, 2011, at 10:34 PM, Rafael Espindola wrote:
> 
> +  if (SrcInt.FindLiveRangeContaining(Other->def)->valno !=
> +      SrcInt.FindLiveRangeContaining(VNI->def)->valno)
> +    return false;

Please use SrcInt.getVNInfoAt(). I would like to hide struct LiveRange completely at some point.

/jakob





More information about the llvm-commits mailing list