Displaying 4 results from an estimated 4 matches for "blomstedt".
2009 Apr 09
3
[LLVMdev] Pass Manager Restriction?
Having a ModulePass that requires a FunctionPass that in turn requires
another ModulePass results in an assertion being fired. Is this
expected behavior (that seems to be undocumented), or a bug?
Specifically, the following code will emit the assertion:
[VMCore/PassManager.cpp:1597: virtual void
llvm::ModulePass::assignPassManager(llvm::PMStack&,
llvm::PassManagerType): Assertion
2009 Apr 10
0
[LLVMdev] Pass Manager Restriction?
...ction pass does not require any module passes."
http://llvm.org/docs/WritingAnLLVMPass.html
In your case, A module pass (ModPass2) is trying tu use function level
pass (FunPass1) which uses module level pass (ModPass1). This is not
supported.
-
Devang
On Apr 9, 2009, at 3:13 PM, Joseph Blomstedt wrote:
> Having a ModulePass that requires a FunctionPass that in turn requires
> another ModulePass results in an assertion being fired. Is this
> expected behavior (that seems to be undocumented), or a bug?
>
> Specifically, the following code will emit the assertion:
> [VMCore...
2009 Apr 10
2
[LLVMdev] Pass Manager Restriction?
...quot;
>
> http://llvm.org/docs/WritingAnLLVMPass.html
>
> In your case, A module pass (ModPass2) is trying tu use function level
> pass (FunPass1) which uses module level pass (ModPass1). This is not
> supported.
>
> -
> Devang
>
> On Apr 9, 2009, at 3:13 PM, Joseph Blomstedt wrote:
>
>> Having a ModulePass that requires a FunctionPass that in turn requires
>> another ModulePass results in an assertion being fired. Is this
>> expected behavior (that seems to be undocumented), or a bug?
>>
>> Specifically, the following code will emit the...
2009 Apr 10
0
[LLVMdev] Pass Manager Restriction?
On Apr 10, 2009, at 12:42 PM, Joseph Blomstedt wrote:
> Good to know. I was referencing a local copy of 2.3 docs which didn't
> include the "does not require any module passes" statement. It appears
> the docs were changed two days before 2.4 was released in November. I
> suppose I should update my docs more often.
&g...