[LLVMdev] Array Dependence Analysis

Chris Lattner sabre at nondot.org
Tue Mar 18 11:53:11 PDT 2008


On Tue, 18 Mar 2008, Devang Patel wrote:
>> Do you mean making Array Dependence Analysis a loop-level analysis?
>> Would its results be available for some function-level pass then?
>
> We could extend pass manager framework to let function-level pass use
> loop-level analysis info. However that is not ideal.

I agree.  I think the dependence analysis pass should be a FunctionPass. 
LoopPasses can use function passes, but not visaversa.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list