[PATCH] [LV] Move addRuntimeCheck to LoopAccessAnalysis

Arnold Schwaighofer aschwaighofer at apple.com
Fri Feb 6 08:44:41 PST 2015


On 02/05/15, Adam Nemet   wrote:
> Hi hfinkel, aschwaighofer, nadav,
> This will allow it to be shared with the new Loop Distribution pass.
> getFirstInst is currently duplicated across LoopVectorize.cpp and
> LoopAccessAnalysis.cpp.  This is a short-term work-around until we figure out
> a better solution.
> NFC.  (The code moved is adjusted a bit for the name of the Loop member and
> that PtrRtCheck is now a reference rather than a pointer.)
> http://reviews.llvm.org/D7458
> Files:
>   include/llvm/Analysis/LoopAccessAnalysis.h
>   lib/Analysis/LoopAccessAnalysis.cpp
>   lib/Transforms/Vectorize/LoopVectorize.cpp
>   http://reviews.llvm.org/settings/panel/emailpreferences/

More information about the llvm-commits mailing list