hameeza ahmed via llvm-dev
2018-Jan-29 17:09 UTC
[llvm-dev] Polly Dependency Analysis in MyPass
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>
hameeza ahmed via llvm-dev
2018-Jan-29 18:34 UTC
[llvm-dev] Polly Dependency Analysis in MyPass
where to begin the modifications?? On Mon, Jan 29, 2018 at 10:09 PM, hameeza ahmed <hahmed2305 at gmail.com> wrote:> 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/8397e9a8/attachment.html>
Michael Kruse via llvm-dev
2018-Jan-30 03:03 UTC
[llvm-dev] Polly Dependency Analysis in MyPass
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.