[LLVMdev] Updating Analysis Pass (original) (raw)

Manish Gupta manishg at cs.ucsd.edu
Fri Oct 10 16:27:17 PDT 2014


Dear All,

I am trying to use an Analysis Pass inside a transformation pass. After the transformations, I call the analysis pass again using getAvailableAnalysis but it seems to run on the old IR.

Snippet of my code: * MyAnalysis MP = getAnalysisIfAvailable(); ... Transformation code ... MyAnalysis* NewMP = getAnalysisIfAvailable(); ... Transformation code ...

MP and NewMP are the same, while I have transformed the code. Please let me know if there is something wrong with what I am doing.

Thanks! Manish -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141010/bdcab68d/attachment.html>



More information about the llvm-dev mailing list