[LLVMdev] Indirect Branch Representation

Eli Friedman eli.friedman at gmail.com
Thu Jul 24 08:03:16 PDT 2008


On Thu, Jul 24, 2008 at 7:54 AM, kapil anand <kapilanand2 at gmail.com> wrote:
> So, that means that &&(Label) operator, which is defined in C++, is also not
> supported currently in LLVM.

The &&(label) operator works just fine as long as you don't get into
nested functions.

> indirectgoto:           ; No predecessors!
>         switch i32 undef, label %L1 [
>                  i32 1, label %L1
>                  i32 2, label %L2
>         ]

This is the magic that makes it work at the moment.

-Eli



More information about the llvm-dev mailing list