[LLVMdev] loop clone?

Linhai songlh at cs.wisc.edu
Wed Sep 24 14:09:17 PDT 2014


Hi,

     I want to add a branch before a loop, and clone the loop to the 
else part. After that, I can do instrumentation in one loop, and keep 
the other one uninstrumented. Does llvm have existing functionality to 
clone loops, or similar codes I can check?

     Thanks a lot!

     Best,

Linhai



More information about the llvm-dev mailing list