[PATCH] [LoopVectorize] Move LoopAccessAnalysis to its own module

Adam Nemet anemet at apple.com
Wed Feb 11 14:06:56 PST 2015


> On Jan 31, 2015, at 7:17 PM, Adam Nemet <anemet at apple.com> wrote:
> 
> In http://reviews.llvm.org/D7285#116434, @hfinkel wrote:
> 
>> I'm assuming the idea is to turn this into a proper analysis pass, but this is a good intermediate step. LGTM.
> 
> 
> Yes, this was the first step of pure refactoring.  Thanks.

I am at a point where turning this into an analysis pass seems to be working.  Still missing some testing, etc.

It’s a function pass that provides an interface to query the memory access information for a given loop.  The result of the analysis is computed on-demand when the client queries it and then cached in the analysis pass.

Does this approach sound reasonable?

Adam

> 
> 
> http://reviews.llvm.org/D7285
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> 
> 





More information about the llvm-commits mailing list