[llvm-dev] Make MachineLICM PostRA (or PreRa) work only on the inner loop for a loop nest
Alex Susu via llvm-dev
llvm-dev at lists.llvm.org
Tue Feb 21 23:05:55 PST 2017
I am curious if I can make the MachineLICM transformation work only on the inner loop
when it encounters a loop nest in the program.
I've started examining the source code of the pass -
http://llvm.org/docs/doxygen/html/MachineLICM_8cpp_source.html . I found comments like
<<// If this is done before regalloc, only visit outer-most preheader-sporting // loops>>.
I'll come back if I find a solution.
Thank you very much,
More information about the llvm-dev