[llvm-commits] [llvm] r84159 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

Nick Lewycky nicholas at mxc.ca
Thu Oct 15 20:29:07 PDT 2009


Duncan Sands wrote:
> Hi Nick,
> 
>> Take advantage of TargetData when available; we know that the atomic 
>> intrinsics
>> only dereference the element they point to directly with no pointer 
>> arithmetic.
> 
> if there's no target data available, I guess there's no point in using
> ~0U for the size because the generic code already handles this case
> since the intrinsics are marked IntrWriteArgMem?

That's correct. When target data isn't available, this code path is off.

Nick




More information about the llvm-commits mailing list