[LLVMdev] LLVM assembly without basic block

Seung Jae Lee lee225 at uiuc.edu
Fri Jun 29 14:02:08 PDT 2007


Thank you for this reply.
If so, is there any way to merge basic blocks into a single one?

Thanks,
Seung J. Lee

---- Original message ----
>Date: Fri, 29 Jun 2007 22:27:38 +0200
>From: Basile STARYNKEVITCH <basile at starynkevitch.net>  
>Subject: Re: [LLVMdev] LLVM assembly without basic block  
>To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
>
>Seung Jae Lee wrote:
>> Hello, guys.
>> 
>> I just wonder if there is any way to spit out LLVM assembly without any basic block division.
>
>I believe you cannot do that, since the basic blocks are defined by the control flow graph, i.e. by the points in the 
>program to which (conditional or unconditional) jumps go. In other words, basic blocks are defined by the destination of 
>goto (in particular those in loops and tests) and calls.
>
>If you restrict yourself to a single basic block, you need to avoid tests and loops.
>
>-- 
>Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
>email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
>8, rue de la Faïencerie, 92340 Bourg La Reine, France
>*** opinions {are only mines, sont seulement les miennes} ***
>
>
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list