[llvm-dev] Polly Dependency Analysis in MyPass

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 29 19:03:14 PST 2018


2018-01-29 11:09 GMT-06:00 hameeza ahmed <hahmed2305 at gmail.com>:
> i put following line in CMakeLists.txt;
> add_subdirectory(mypass)

I need to know which CMakeLists.txt you modified and all the contents
of the mypass directory.

Please a diff/tarball of all modifications you made, e.g. if you are using git:

    $ git add -A && git diff origin/master



>
>
> then used make -j9
>
>
> then i used following and run on canonicalize IR
>
>
> $ opt  -load lib/LLVMmypass.so    -mypass vec-sum.preopt.ll

-polly-process-unprofitable is likely missing here. A vector sum
likely does not fulfill Polly's heuristic of minimum complexity to
optimize.

>
>
>
>
>
>
> 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
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Polly Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polly-dev+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


More information about the llvm-dev mailing list