Alexandre Isoard via llvm-dev
2018-Mar-23 01:29 UTC
[llvm-dev] Dump Module IR with SCEV as comment
Hello, Is there a way to dump the Module IR with the SCEV as comment at the end of each line? The -analyze or -debug-pass is not printed on the IR itself. Maybe through the DiagnosticInfo? -- *Alexandre Isoard* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180322/e178b4c8/attachment.html>
Friedman, Eli via llvm-dev
2018-Mar-23 01:37 UTC
[llvm-dev] Dump Module IR with SCEV as comment
On 3/22/2018 6:29 PM, Alexandre Isoard via llvm-dev wrote:> Hello, > > Is there a way to dump the Module IR with the SCEV as comment at the > end of each line?AssemblyAnnotationWriter exists, but I don't think anyone has hooked it up to SCEV, specifically. -Eli -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Alexandre Isoard via llvm-dev
2018-Mar-23 02:28 UTC
[llvm-dev] Dump Module IR with SCEV as comment
Oh, nice. Seems easy enough to hook. I might do that relatively "soon". I can hurry up if anybody is interested. On Thu, Mar 22, 2018 at 6:37 PM, Friedman, Eli <efriedma at codeaurora.org> wrote:> On 3/22/2018 6:29 PM, Alexandre Isoard via llvm-dev wrote: > >> Hello, >> >> Is there a way to dump the Module IR with the SCEV as comment at the end >> of each line? >> > > AssemblyAnnotationWriter exists, but I don't think anyone has hooked it up > to SCEV, specifically. > > -Eli > > -- > Employee of Qualcomm Innovation Center, Inc. > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux > Foundation Collaborative Project > >-- *Alexandre Isoard* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180322/60d00fb2/attachment.html>