<div dir="auto"><div dir="ltr">Hi,<div><br></div><div>I noticed a bunch of routines in lib/Transforms/Utils/LoopUtils.cpp that only analyzes the IR without doing any transformation. Most of the routines in RecurrenceDescriptor and InductionDescriptor classes are used only to analyze and identify the respective IVs. Is it a better option to move them to a file like lib/Analysis/LoopAnalysisUtils.cpp?<br clear="all"><div><br></div><div>The rationale for this is, I am writing an analysis pass that requires InductionDescriptor, and including the LoopUtils.h in this analysis pass is against the CMake policy (produces link error).</div><div><br></div><div>Please let me know if it is feasible so that I can submit a patch.</div><div><br></div><div>Thanks</div><div><br></div>-- <br><div class="m_406157373245819922gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Good time...</div><div>Vikram TV</div><div>CompilerTree Technologies</div><div>Mysore, Karnataka, INDIA</div></div></div></div></div>
</div></div></div>