[LLVMdev] Error when trying to chain two llvm transform passes

Krzysztof Parzyszek kparzysz at codeaurora.org
Tue Oct 30 14:15:37 PDT 2012


On 10/30/2012 4:10 PM, Ashwin kumar wrote:
>
> Assertion failed: (PI && "Expected required passes to be initialized"),
> function schedulePass, file PassManager.cpp, line 597.
>
>
> I register the passes using RegisterPass function call. What else should
> I be doing?

Initializing them.  Are you using INITIALIZE_PASS_DEPENDENCY, 
INITIALIZE_AG_DEPENDENCY, etc?

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list