[LLVMdev] PassManager
    Chris Lattner 
    sabre at nondot.org
       
    Tue Nov  7 16:32:06 PST 2006
    
    
  
On Tue, 7 Nov 2006, Vikram Adve wrote:
>> I think I see the issue here.  The point of the pass manager (in
>> general)
>> is for passes to *give up control* over iteration order in order for
>> obtain something else.
>
>
> Right, I understand that.  I think that works fine in most cases.
> For loop passes, though, this approach is causing some of the
> complexity issues you talked about in your notes.  You could avoid
> them, and also make some loop passes, more natural to write if you
> relaxed this policy and allow a transformation algorithm to choose
> what subsets of loops to visit at a time.
The idea is that the LPM (roughly) runs *all* the loop passes on an inner 
loop, then runs them all on an outer loop.
How could it allow individual passes to control order of loop visitation?
-Chris
-- 
http://nondot.org/sabre/
http://llvm.org/
    
    
More information about the llvm-dev
mailing list