[LLVMdev] PassManager Error

Devang Patel dpatel at apple.com
Wed Jul 25 15:29:54 PDT 2007


On Jul 25, 2007, at 3:15 PM, David A. Greene wrote:

> Can anyone explain what this means?
>
> llvm/include/llvm/PassManagers.h:232: virtual void
> llvm::PMDataManager::addLowerLevelRequiredPass(llvm::Pass*,  
> llvm::Pass*):
> Assertion `0 && "Unable to handle Pass that requires lower level  
> Analysis
> pass"' failed.

In simple words, pass manager is not able to schedule passes in  
requested order.
Pass manager is not able to find required pass at the same level  
(module, function,
loop etc..) or higher level compared current pass.

What is Pass and RequiredPass when this assertion hits ?
-
Devang



More information about the llvm-dev mailing list