[llvm-dev] llvm pass is very slow

Muhui Jiang via llvm-dev llvm-dev at lists.llvm.org
Sat Jul 14 18:21:57 PDT 2018


Hi

I write a LLVM function pass. The pass will loop the basicblock in the
function, check the instruction's type with dyn_cast<switchinst>, print the
instruction and the basicblock's successors. I think it is not very complex.

My bitcode file is about 30M. My CPU is i7-7700(3.6GHz). It has been
running for 60 hours but it is still running. I am not sure whether this is
a normal behavior. If so, any options or suggestions to help me speed up
the analysis. Many Thanks

Regards
Muhui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180714/c0b7f4db/attachment.html>


More information about the llvm-dev mailing list