[LLVMdev] Fwd: LLVM IR Branchs (original) (raw)

Rafael Baldiati Parizi parizi.computacao at gmail.com
Mon Sep 5 17:20:21 PDT 2011


This is necessary because I am working with the addition of instruction in the code llvm for C programs, after generating the intermediate language and for that, I would put this deviation without changing block.

2011/9/5 Rafael Baldiati Parizi <parizi.computacao at gmail.com>

I have two values and I want see if them are equals. Then, I would a instruction like if Value1 != Value2, error without create a new block, continuing the execution in the same block, forcing the LLI to execute this.

2011/9/5 Eli Friedman <eli.friedman at gmail.com>

On Mon, Sep 5, 2011 at 4:47 PM, Rafael Baldiati Parizi <parizi.computacao at gmail.com> wrote: > Hello, > I would know how can I make a branch in llvm ir without a label of > destination? > For example: > br i1 %1, label %bb, NO LABEL HERE

What are you trying to do? -Eli

-- Rafael Parizi

-- Rafael Parizi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110905/5ce279c8/attachment.html>



More information about the llvm-dev mailing list