[LLVMdev] mem2reg optimization

Devang Patel dpatel at apple.com
Tue Oct 7 16:51:22 PDT 2008

On Oct 7, 2008, at 3:07 PM, David Greene wrote:

>  My point was that the other place
> I've found this useful is in an analysis pass and that's problematic  
> because
> the ordering won't be updated by PassManager even if the dependent  
> analysis
> is.  Therefore, the dependent analysis will compute wrong answers.

If the pass manger is informed that info. is not preserved then it  
will order analysis pass run.  Note, DominanceFrontier is an analysis  
pass that depends on an analysis pass named DomiantorTree. Do you have  
an example where dependent analysis computes wrong answer?


More information about the llvm-dev mailing list