[LLVMdev] Loop-Unrolling with Multi Core Architecture

yaduveer singh yaduveer99 at gmail.com
Fri May 1 02:36:03 PDT 2015


Hi All!

I'm Yaduveer, trying to do Loop-Unrolling with a modified algorithm which
can run on multicore processor. We expect loop unroll factor equal to
number of cores available. I want to modify the LoopUnroll Pass so I tried
to make a sample pass [http://llvm.org/docs/WritingAnLLVMPass.html#id6]
using the existing LoopUnrollPass. I tried running that but could not
register the new pass as it resembled with original pass.

Here's the output when I tried to compile and register the pass.

http://pastebin.com/Uxq3fHQP

Can somebody help me how to register this pass and make any more changes?

Thanks!
Yaduveer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150501/3360baf6/attachment.html>


More information about the llvm-dev mailing list