<div dir="ltr">Hello,<div><br></div><div>I was thinking about printing SCEV into DiagnosticInfo messages, an example would be to print the loop trip count of loops, or the stride of memory accesses.</div><div><br></div><div>I ran into two problems:</div><div>- DiagnosticInfo is in Core, SCEV is in Analysis, so it is a little bit weird (I declare the operator<< overload for SCEV* in DiagnosticInfo, but only define it in ScalarEvolution)</div><div>- I would like to print meaningful expressions that does not involve llvm-ir variables.</div><div><br></div><div>I think the second problem is hard, how would you suggest to proceed?<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b>Alexandre Isoard</b><br></div></div>
</div></div>