[LLVMdev] want to use CallGraph Pass in llc

Devang Patel dpatel at apple.com
Tue Jun 3 09:56:18 PDT 2008


On Jun 3, 2008, at 12:34 AM, Matthijs Kooijman wrote:

> Hi Paul,
>
>>> Assertion `0 && "Unable to handle Pass that requires lower level
>>> Analysis
>>> pass"' failed.
> I have been struggling with the same problem as well, when I wanted  
> to make a
> loop pass depend on a module pass (IIRC). You should probably pull  
> your
> program through gdb and get a backtrace so you can see what pass is  
> causing
> the problem.

I added small fix to make this assertion message more helpful. If you  
use --debug-pass=Details on the command line then pass manager will  
print information which may help you understand what is going on. If  
it is not clear, send me --debug-pass=Details output.
-
Devang
>
>
> Also, a paste of the passes you are trying to schedule would help as  
> well (you
> were building your own program, not using the builtin opt / llc /  
> etc, right?
>
> Gr.
>
> Matthijs
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list