[LLVMdev] PassManager Error

Devang Patel dpatel at apple.com
Thu Jul 26 09:48:44 PDT 2007


On Jul 26, 2007, at 8:01 AM, David Greene wrote:

> On Wednesday 25 July 2007 21:35, David A. Greene wrote:
>
>>> What is Pass and RequiredPass when this assertion hits ?
>>
>> I haven't had a chance to explore too deeply yet (the stack trace  
>> doesn't
>> give any useful information) but I suspect Pass is the register  
>> allocator
>> and RequiredPass is the coalescer.
>
> Turns out I was wrong.  Pass is the register allocator but  
> RequiredPass is
> LiveVariableAnalysis.  Any idea why this would cause a problem?
>

If in register allocator you have requested another higher level pass  
after LiveVariableAnalysis pass then this may happen.
-
Devang



More information about the llvm-dev mailing list