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
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
where to begin the modifications??
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.