[llvm-dev] Polly Dependency Analysis in MyPass

hameeza ahmed via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 29 09:09:39 PST 2018


i put following line in CMakeLists.txt;
add_subdirectory(mypass)


then used make -j9


then i used following and run on canonicalize IR


$ opt  -load lib/LLVMmypass.so    -mypass vec-sum.preopt.ll






On Mon, Jan 29, 2018 at 9:39 PM, Michael Kruse <llvmdev at meinersbur.de>
wrote:

> 2018-01-29 10:18 GMT-06:00 hameeza ahmed <hahmed2305 at gmail.com>:
> > I tried writing following code. Could you please help me on this? What to
> > modify here?
>
> Please send a script executing the commands that you have been using,
> including all required files (eg .cpp, CMakeLists.txt, .ll, patches,
> ...)
>
> Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180129/733f7db2/attachment.html>


More information about the llvm-dev mailing list