Mokri, Parnian via llvm-dev
2016-Sep-29 19:53 UTC
[llvm-dev] comparing IR instruction within different basic blocks
Hello all, What is the best way to compare IR instructions in one basic block to another one's? Thank you, Best, Parnian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160929/1442ba43/attachment.html>
Daniel Berlin via llvm-dev
2016-Sep-29 19:56 UTC
[llvm-dev] comparing IR instruction within different basic blocks
in what sense? On Thu, Sep 29, 2016 at 12:53 PM, Mokri, Parnian via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hello all, > > > What is the best way to compare IR instructions in one basic block to > another one's? > > > Thank you, > > Best, > > Parnian > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160929/ed6605e4/attachment.html>
Mokri, Parnian via llvm-dev
2016-Sep-29 20:05 UTC
[llvm-dev] comparing IR instruction within different basic blocks
comparing arithmetical operations in a function's IR to operations in another function's IR. I want to see they share similar arithmetic opcode, I don't care about their sequence at this time. Thanks, Best, Parnian ________________________________ From: Daniel Berlin <dberlin at dberlin.org> Sent: Thursday, September 29, 2016 3:56:41 PM To: Mokri, Parnian Cc: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] comparing IR instruction within different basic blocks in what sense? On Thu, Sep 29, 2016 at 12:53 PM, Mokri, Parnian via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hello all, What is the best way to compare IR instructions in one basic block to another one's? Thank you, Best, Parnian _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160929/da774252/attachment.html>
Michael Kruse via llvm-dev
2016-Sep-30 10:42 UTC
[llvm-dev] comparing IR instruction within different basic blocks
2016-09-29 21:53 GMT+02:00 Mokri, Parnian via llvm-dev <llvm-dev at lists.llvm.org>:> What is the best way to compare IR instructions in one basic block to > another one's?Take a look at llvm-diff: http://llvm.org/docs/CommandGuide/llvm-diff.html I don't use it by myself, so I cannot give any advice/help about it. Michael
Madhur Amilkanthwar via llvm-dev
2016-Sep-30 10:53 UTC
[llvm-dev] comparing IR instruction within different basic blocks
The question seems to be cryptic to me as well. Do you want to do it during code generation or after the code is generated (like binary to binary comparison)? On Fri, Sep 30, 2016 at 4:12 PM, Michael Kruse via llvm-dev < llvm-dev at lists.llvm.org> wrote:> 2016-09-29 21:53 GMT+02:00 Mokri, Parnian via llvm-dev > <llvm-dev at lists.llvm.org>: > > What is the best way to compare IR instructions in one basic block to > > another one's? > > Take a look at llvm-diff: > > http://llvm.org/docs/CommandGuide/llvm-diff.html > > I don't use it by myself, so I cannot give any advice/help about it. > > Michael > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-- *Disclaimer: Views, concerns, thoughts, questions, ideas expressed in this mail are of my own and my employer has no take in it. * Thank You. Madhur D. Amilkanthwar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160930/361ca1e2/attachment.html>