[llvm-dev] DiagnosticInfo and SCEV
Alexandre Isoard via llvm-dev
llvm-dev at lists.llvm.org
Mon Jun 4 18:14:29 PDT 2018
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
I ran into two problems:
- 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)
- I would like to print meaningful expressions that does not involve
I think the second problem is hard, how would you suggest to proceed?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev