On 13/08/11 00:01, Cameron Zwarich wrote:> They do work if you have GraphViz binaries in your path when you configure LLVM.I think you also need to build with assertions enabled. Ciao, Duncan.> > Cameron > > On Aug 12, 2011, at 2:59 PM, محمد ﻋﻤﺮ ﺩﻫﻠﻮﻯ wrote: > >> I need help with visualizing graphs before and after instruction selection. >> The llc options listed in the docs do not work as specified. >> >> -Omer >> >> 2011/8/8 Rafael Ávila de Espíndola <rafael.espindola at gmail.com >> <mailto:rafael.espindola at gmail.com>> >> >> On 08/06/2011 02:40 AM, Sanjoy Das wrote: >> > Hi! >> > >> > I have a DAG (attached), which, according to me, should result in the >> > code for coroutine_make be generated _before_ the ret. >> > >> > However, it seems that the corresponding EmitInstrWithCustomInserter is >> > being called /after/ the RET instruction has already been emitted. >> >> That is strange, from the dump it looks like all the chain edges are there. >> >> What is the MI dump you get for this BB just after instruction selection? >> >> > Thanks! >> >> Cheers, >> Rafael >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu >> <http://llvm.cs.uiuc.edu/> >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
How do I enable the assertions when building ? I am using 2.9, the current version, and when I use the standard build llc does not give me the view-*-dags options. -Omer On Sat, Aug 13, 2011 at 1:50 AM, Duncan Sands <baldrick at free.fr> wrote:> On 13/08/11 00:01, Cameron Zwarich wrote: > > They do work if you have GraphViz binaries in your path when you > configure LLVM. > > I think you also need to build with assertions enabled. > > Ciao, Duncan. > > > > > Cameron > > > > On Aug 12, 2011, at 2:59 PM, محمد ﻋﻤﺮ ﺩﻫﻠﻮﻯ wrote: > > > >> I need help with visualizing graphs before and after instruction > selection. > >> The llc options listed in the docs do not work as specified. > >> > >> -Omer > >> > >> 2011/8/8 Rafael Ávila de Espíndola <rafael.espindola at gmail.com > >> <mailto:rafael.espindola at gmail.com>> > >> > >> On 08/06/2011 02:40 AM, Sanjoy Das wrote: > >> > Hi! > >> > > >> > I have a DAG (attached), which, according to me, should result in > the > >> > code for coroutine_make be generated _before_ the ret. > >> > > >> > However, it seems that the corresponding > EmitInstrWithCustomInserter is > >> > being called /after/ the RET instruction has already been emitted. > >> > >> That is strange, from the dump it looks like all the chain edges are > there. > >> > >> What is the MI dump you get for this BB just after instruction > selection? > >> > >> > Thanks! > >> > >> Cheers, > >> Rafael > >> _______________________________________________ > >> LLVM Developers mailing list > >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> > http://llvm.cs.uiuc.edu > >> <http://llvm.cs.uiuc.edu/> > >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >> > >> > >> _______________________________________________ > >> LLVM Developers mailing list > >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> > http://llvm.cs.uiuc.edu > >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110815/6cafa575/attachment.html>
On 15/08/11 13:12, محمد ﻋﻤﺮ ﺩﻫﻠﻮﻯ wrote:> How do I enable the assertions when building ? > I am using 2.9, the current version, and when I use the standard build llc does > not give me the view-*-dags options.Configure with --enable-assertions Ciao, Duncan.> > -Omer > > On Sat, Aug 13, 2011 at 1:50 AM, Duncan Sands <baldrick at free.fr > <mailto:baldrick at free.fr>> wrote: > > On 13/08/11 00:01, Cameron Zwarich wrote: > > They do work if you have GraphViz binaries in your path when you > configure LLVM. > > I think you also need to build with assertions enabled. > > Ciao, Duncan. > > > > > Cameron > > > > On Aug 12, 2011, at 2:59 PM, محمد ﻋﻤﺮ ﺩﻫﻠﻮﻯ wrote: > > > >> I need help with visualizing graphs before and after instruction selection. > >> The llc options listed in the docs do not work as specified. > >> > >> -Omer > >> > >> 2011/8/8 Rafael Ávila de Espíndola <rafael.espindola at gmail.com > <mailto:rafael.espindola at gmail.com> > >> <mailto:rafael.espindola at gmail.com <mailto:rafael.espindola at gmail.com>>> > >> > >> On 08/06/2011 02:40 AM, Sanjoy Das wrote: > >> > Hi! > >> > > >> > I have a DAG (attached), which, according to me, should result in the > >> > code for coroutine_make be generated _before_ the ret. > >> > > >> > However, it seems that the corresponding EmitInstrWithCustomInserter is > >> > being called /after/ the RET instruction has already been emitted. > >> > >> That is strange, from the dump it looks like all the chain edges are > there. > >> > >> What is the MI dump you get for this BB just after instruction > selection? > >> > >> > Thanks! > >> > >> Cheers, > >> Rafael > >> _______________________________________________ > >> LLVM Developers mailing list > >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> > <mailto:LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>> > http://llvm.cs.uiuc.edu > >> <http://llvm.cs.uiuc.edu/> > >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >> > >> > >> _______________________________________________ > >> LLVM Developers mailing list > >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> > <mailto:LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>> > http://llvm.cs.uiuc.edu > >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >