Displaying 2 results from an estimated 2 matches for "cc87a0c7".
2012 Mar 13
0
[LLVMdev] How to keep FunctionPass analysis result alive in Module Pass?
...ovide copy
>> method, this will be very dirty to do so.
>
> Yes, that may be what you have to do.
>
>
> -- John T.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120313/cc87a0c7/attachment.html>
2012 Mar 13
2
[LLVMdev] How to keep FunctionPass analysis result alive in Module Pass?
Hi John & Fan,
I hit the exact same problem today. I can confirm that Fan's observation of
getting the *same* LoopInfo* from subsequent calls to
getAnalysis<LoopInfo>(function) for *distinct* functions is indeed true.
I was very surprised by this at first as well, but I think I've found an
explanation - please anyone correct me if this is wrong:
What you're getting from