[LLVMdev] Error when trying to chain two llvm transform passes
ashwinkumar18 at gmail.com
Tue Oct 30 15:35:57 PDT 2012
On Oct 30, 2012, at 3:15 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> 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?
No. I am not sure how they work . I am trying to use the INITIALIZE_PASS macro. I get the following error
error: definition or redeclaration of 'initializeMyPassNamePass' not in a namespace enclosing 'llvm'
should i add the passname to a header file ? if so where?
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev